summaryrefslogtreecommitdiff
path: root/plugins/shotwell-publishing/YouTubePublishing.vala
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff.email>2020-05-25 20:17:19 +0200
committerJörg Frings-Fürst <debian@jff.email>2020-05-25 20:17:19 +0200
commitc3b87b404d803e2eaa6bf179b2bb370c874ffa75 (patch)
tree057c19e3afcf8e79f25f66340ee666614e2978c4 /plugins/shotwell-publishing/YouTubePublishing.vala
parent959dc1b29b9d4dd9d3fc56c7759afc77788ec256 (diff)
New upstream version 0.30.10upstream/0.30.10
Diffstat (limited to 'plugins/shotwell-publishing/YouTubePublishing.vala')
-rw-r--r--plugins/shotwell-publishing/YouTubePublishing.vala2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/shotwell-publishing/YouTubePublishing.vala b/plugins/shotwell-publishing/YouTubePublishing.vala
index 87f1959..e50d17a 100644
--- a/plugins/shotwell-publishing/YouTubePublishing.vala
+++ b/plugins/shotwell-publishing/YouTubePublishing.vala
@@ -99,7 +99,7 @@ internal class YouTubeAuthorizer : GData.Authorizer, Object {
}
public bool is_authorized_for_domain(GData.AuthorizationDomain domain) {
- return true;
+ return domain.scope.has_suffix ("auth/youtube");
}
public void process_request(GData.AuthorizationDomain? domain,