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:36 +0200
committerJörg Frings-Fürst <debian@jff.email>2020-05-25 20:17:36 +0200
commit78aeec6a66a80c1494e4f5dec30e9a2f71caef41 (patch)
treeb33dde0d7d164dabdd09bc86eb655bcb8672abbd /plugins/shotwell-publishing/YouTubePublishing.vala
parent32662cb4e6c60da265aba1e4cc6a5e05e5c7c2d1 (diff)
parentc3b87b404d803e2eaa6bf179b2bb370c874ffa75 (diff)
Update upstream source from tag 'upstream/0.30.10'
Update to upstream version '0.30.10' with Debian dir 328b0e5e3a6b12caed3ce0ee45f20efdf8a7b353
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,