Compare commits
1 Commits
v25.11.90
...
work/tobia
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
43e5adee7e |
@@ -15,6 +15,7 @@
|
||||
#include "general_logging.h"
|
||||
|
||||
using namespace Qt::StringLiterals;
|
||||
using namespace Quotient;
|
||||
|
||||
AccountManager::AccountManager(bool testMode, QObject *parent)
|
||||
: QObject(parent)
|
||||
@@ -39,7 +40,7 @@ Quotient::AccountRegistry *AccountManager::accounts()
|
||||
|
||||
void AccountManager::loadAccountsFromCache()
|
||||
{
|
||||
for (const auto &accountId : Quotient::SettingsGroup("Accounts"_L1).childGroups()) {
|
||||
for (const auto &accountId : AccountSettingsGroup().childGroups()) {
|
||||
Quotient::AccountSettings account{accountId};
|
||||
m_accountsLoading += accountId;
|
||||
Q_EMIT accountsLoadingChanged();
|
||||
|
||||
@@ -190,7 +190,7 @@ void NeoChatConnection::setKeywordPushRuleDefault(PushRuleAction::Action default
|
||||
|
||||
void NeoChatConnection::logout(bool serverSideLogout)
|
||||
{
|
||||
SettingsGroup(u"Accounts"_s).remove(userId());
|
||||
AccountSettingsGroup().remove(userId());
|
||||
|
||||
QKeychain::DeletePasswordJob job(qAppName());
|
||||
job.setAutoDelete(true);
|
||||
|
||||
Reference in New Issue
Block a user