Pick libQuotient 0.8 fixes

This commit is contained in:
Tobias Fella
2023-07-04 22:24:23 +02:00
parent a2c37a93d0
commit d9d5e17be2
5 changed files with 29 additions and 18 deletions

View File

@@ -43,7 +43,11 @@ void Login::init()
return;
}
#ifdef QUOTIENT_07
m_isLoggedIn = Accounts.isLoggedIn(m_matrixId);
#else
m_isLoggedIn = AccountRegistry::instance().isLoggedIn(m_matrixId);
#endif
Q_EMIT isLoggedInChanged();
if (m_isLoggedIn) {
return;