about summary refs log tree commit diff
path: root/third_party/lieer
diff options
context:
space:
mode:
authorVincent Ambo <tazjin@google.com>2019-12-26T13·06+0100
committerVincent Ambo <tazjin@google.com>2019-12-26T13·06+0100
commit39aa74ed6132c3e8467d8ea3835b59968d85066c (patch)
tree87a210bb8909fe86c4e2642f1b06d1741d5fe1b6 /third_party/lieer
parenta07571a4dbdee4f87aeb57701f1a26b2d09278fb (diff)
fix(third_party/lieer): Use correct scope for SMTP access r/304
Turns out that for some peculiar reason, the 'send' scope is not
enough to send email and the full 'mail.google.com' scope is required.
Diffstat (limited to 'third_party/lieer')
-rw-r--r--third_party/lieer/send_scope.patch2
1 files changed, 1 insertions, 1 deletions
diff --git a/third_party/lieer/send_scope.patch b/third_party/lieer/send_scope.patch
index 32f4ead5335d..c882a79ac518 100644
--- a/third_party/lieer/send_scope.patch
+++ b/third_party/lieer/send_scope.patch
@@ -7,7 +7,7 @@ index 6e3973a..ade1082 100644
  
  class Remote:
 -  SCOPES = 'https://www.googleapis.com/auth/gmail.readonly https://www.googleapis.com/auth/gmail.labels https://www.googleapis.com/auth/gmail.modify'
-+  SCOPES = 'https://www.googleapis.com/auth/gmail.readonly https://www.googleapis.com/auth/gmail.labels https://www.googleapis.com/auth/gmail.modify https://www.googleapis.com/auth/gmail.send'
++  SCOPES = 'https://www.googleapis.com/auth/gmail.readonly https://www.googleapis.com/auth/gmail.labels https://www.googleapis.com/auth/gmail.modify https://mail.google.com/'
    APPLICATION_NAME   = 'Lieer'
    CLIENT_SECRET_FILE = None
    authorized         = False