Fix build against libQuotient 0.8
This commit is contained in:
committed by
James Graham
parent
41a5d2557e
commit
a94f46f904
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user