~ubuntu-branches/ubuntu/wily/gnome-online-accounts/wily

« back to all changes in this revision

Viewing changes to debian/patches/git_facebook_remove_read_mailbox.patch

  • Committer: Package Import Robot
  • Author(s): Tim Lunn
  • Date: 2015-03-17 10:29:03 UTC
  • Revision ID: package-import@ubuntu.com-20150317102903-65f9beogigjdwihd
Tags: 3.14.2-1ubuntu1
* debian/patches/git_facebook_remove_chat.patch: Facebook have dropped
  support for XMPP (LP: #1432859)
* debian/patches/git_facebook_remove_read_mailbox.patch: removed unused
  permission that is restricted usage.
 

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
From 68a2fe409618150344688fd98ddd5d5e92d7dd1e Mon Sep 17 00:00:00 2001
 
2
From: Debarshi Ray <debarshir@gnome.org>
 
3
Date: Mon, 23 Feb 2015 13:24:16 +0100
 
4
Subject: facebook: Remove read_mailbox
 
5
 
 
6
I can not think of anything that is using it, and Facebook does not
 
7
like [1] handing it out so easily.
 
8
 
 
9
Since the credentials generation was bumped in the previous commit,
 
10
we are not bumping it again.
 
11
 
 
12
[1] https://developers.facebook.com/docs/facebook-login/permissions
 
13
 
 
14
https://bugzilla.gnome.org/show_bug.cgi?id=745004
 
15
 
 
16
diff --git a/src/goabackend/goafacebookprovider.c b/src/goabackend/goafacebookprovider.c
 
17
index 771ee9c..27ccd62 100644
 
18
--- a/src/goabackend/goafacebookprovider.c
 
19
+++ b/src/goabackend/goafacebookprovider.c
 
20
@@ -133,7 +133,6 @@ get_scope (GoaOAuth2Provider *provider)
 
21
   /* Note: Email is requested to obtain a human understandable unique Id  */
 
22
   return
 
23
     "user_events,"
 
24
-    "read_mailbox,"
 
25
     "email,"
 
26
     "user_photos,"
 
27
     "user_status,"
 
28
-- 
 
29
cgit v0.10.2