summaryrefslogtreecommitdiff
path: root/plugins/shotwell-publishing/YouTubePublishing.vala
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff.email>2020-05-31 12:05:32 +0200
committerJörg Frings-Fürst <debian@jff.email>2020-05-31 12:05:32 +0200
commita03d7d2e5151332bbe89e5bc36965956cfa7af35 (patch)
tree1667c3a269ad810db3a7a4a592a5721955dbdf01 /plugins/shotwell-publishing/YouTubePublishing.vala
parent2db2a00a812ec31ee59c3920ff457290e1f4a05e (diff)
parenta99b581716d7972a62ed6c227a807e304a98d6af (diff)
Merge branch 'release/debian/0.30.10-1'debian/0.30.10-1
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,