diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2021-02-13 21:41:11 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2021-02-13 21:41:11 +0000 |
commit | c8d60dada2ec8eb48b2d2b290cd6683ccec40e39 (patch) | |
tree | c44943ee0563a3fa957716de909fed683117fcb9 /kde-apps/libkgapi/files/libkgapi-20.12.1-remember-gmail-auth-token.patch | |
parent | 69051588e2f955485fe5d45d45e616bc60a2de57 (diff) |
gentoo (valentine's day) resync : 14.02.2021
Diffstat (limited to 'kde-apps/libkgapi/files/libkgapi-20.12.1-remember-gmail-auth-token.patch')
-rw-r--r-- | kde-apps/libkgapi/files/libkgapi-20.12.1-remember-gmail-auth-token.patch | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/kde-apps/libkgapi/files/libkgapi-20.12.1-remember-gmail-auth-token.patch b/kde-apps/libkgapi/files/libkgapi-20.12.1-remember-gmail-auth-token.patch deleted file mode 100644 index 4d777f1475f1..000000000000 --- a/kde-apps/libkgapi/files/libkgapi-20.12.1-remember-gmail-auth-token.patch +++ /dev/null @@ -1,30 +0,0 @@ -From d81d247026ac993ac5717ca471c7fcf1778951f2 Mon Sep 17 00:00:00 2001 -From: Antonio Rojas <arojas@archlinux.org> -Date: Wed, 6 Jan 2021 15:54:52 +0100 -Subject: [PATCH] Don't reset account scopes if not necessary - -This triggers unnecesary authentication prompts - -BUG: 429406 ---- - src/core/accountmanager.cpp | 4 +++- - 1 file changed, 3 insertions(+), 1 deletion(-) - -diff --git a/src/core/accountmanager.cpp b/src/core/accountmanager.cpp -index b9af6c1..f68563e 100644 ---- a/src/core/accountmanager.cpp -+++ b/src/core/accountmanager.cpp -@@ -81,7 +81,9 @@ public: - currentScopes.push_back(requestedScope); - } - } -- account->setScopes(currentScopes); -+ if (currentScopes != account->scopes()) { -+ account->setScopes(currentScopes); -+ } - } - auto *job = new AuthJob(account, apiKey, apiSecret); - job->setUsername(account->accountName()); --- -GitLab - |