mirror of
https://github.com/Nheko-Reborn/nheko.git
synced 2024-11-26 13:08:48 +03:00
Fix self verification status never updating
This commit is contained in:
parent
7de24a4271
commit
809be93e20
2 changed files with 3 additions and 1 deletions
|
@ -373,6 +373,7 @@ ChatPage::bootstrap(QString userid, QString homeserver, QString token)
|
||||||
getBackupVersion();
|
getBackupVersion();
|
||||||
tryInitialSync();
|
tryInitialSync();
|
||||||
callManager_->refreshTurnServer();
|
callManager_->refreshTurnServer();
|
||||||
|
emit MainWindow::instance()->reload();
|
||||||
});
|
});
|
||||||
|
|
||||||
connect(cache::client(),
|
connect(cache::client(),
|
||||||
|
|
|
@ -258,7 +258,8 @@ SelfVerificationStatus::invalidate()
|
||||||
using namespace mtx::secret_storage;
|
using namespace mtx::secret_storage;
|
||||||
|
|
||||||
nhlog::db()->info("Invalidating self verification status");
|
nhlog::db()->info("Invalidating self verification status");
|
||||||
if (cache::isInitialized()) {
|
if (!cache::isInitialized()) {
|
||||||
|
nhlog::db()->warn("SelfVerificationStatus: cache not initialized");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue