diff options
author | Alexey Rusakov <Kitsune-Ral@users.sf.net> | 2021-08-23 09:12:39 +0200 |
---|---|---|
committer | Alexey Rusakov <Kitsune-Ral@users.sf.net> | 2021-08-23 09:12:39 +0200 |
commit | 2914657e594b46bcdc04d320732fa1799978c0a8 (patch) | |
tree | 18e47baa175a109e9a64491b35889ef4375264fd /lib/settings.cpp | |
parent | 3cbc13a33c81a75e18c415bd31cc2156461ffa1f (diff) | |
parent | 93cee89f9a99e51275ac9cd304180499b0543eea (diff) | |
download | libquotient-2914657e594b46bcdc04d320732fa1799978c0a8.tar.gz libquotient-2914657e594b46bcdc04d320732fa1799978c0a8.zip |
Merge branch 'kitsune/deprecations'
Diffstat (limited to 'lib/settings.cpp')
-rw-r--r-- | lib/settings.cpp | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/lib/settings.cpp b/lib/settings.cpp index 1d36db27..ed9082b0 100644 --- a/lib/settings.cpp +++ b/lib/settings.cpp @@ -126,19 +126,6 @@ void AccountSettings::setHomeserver(const QUrl& url) QString AccountSettings::userId() const { return group().section('/', -1); } -QString AccountSettings::accessToken() const -{ - return value(AccessTokenKey).toString(); -} - -void AccountSettings::setAccessToken(const QString& accessToken) -{ - qCWarning(MAIN) << "Saving access_token to QSettings is insecure." - " Developers, do it manually or contribute to share " - "QtKeychain logic to libQuotient."; - setValue(AccessTokenKey, accessToken); -} - void AccountSettings::clearAccessToken() { legacySettings.remove(AccessTokenKey); |