about summary refs log blame commit diff
path: root/third_party/lieer/send_scope.patch
blob: 2f1a59ac88fee3f1bc39b79237e2da1359c15c11 (plain) (tree)
1
2
3
4
5
6
7
8
9
10









                                                                      
                                              
                             

                     
                                                       



                                                                                                                                                      
                                                                                                                                                                               


                               


                           
From ac7be0f9ad212455d833457bc328ee18eb6a5fdf Mon Sep 17 00:00:00 2001
From: Vincent Ambo <tazjin@google.com>
Date: Thu, 10 Dec 2020 11:13:56 +0100
Subject: [PATCH] remoet: Add 'mail.google.com' OAuth scope

Required for sending emails.
---
 lieer/remote.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lieer/remote.py b/lieer/remote.py
index 9f3e871..6f5a71e 100644
--- a/lieer/remote.py
+++ b/lieer/remote.py
@@ -26,7 +26,7 @@ from oauth2client.file import Storage
 from pathlib import Path
 
 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://mail.google.com/'
   APPLICATION_NAME   = 'Lieer'
   CLIENT_SECRET_FILE = None
   authorized         = False
-- 
2.29.2.576.ga3fc446d84-goog