Skip to content
Snippets Groups Projects
Verified Commit 809be93e authored by Nicolas Werner's avatar Nicolas Werner
Browse files

Fix self verification status never updating

parent 7de24a42
No related branches found
No related tags found
No related merge requests found
Pipeline #1999 passed
......@@ -373,6 +373,7 @@ ChatPage::bootstrap(QString userid, QString homeserver, QString token)
getBackupVersion();
tryInitialSync();
callManager_->refreshTurnServer();
emit MainWindow::instance()->reload();
});
connect(cache::client(),
......
......@@ -258,7 +258,8 @@ SelfVerificationStatus::invalidate()
using namespace mtx::secret_storage;
nhlog::db()->info("Invalidating self verification status");
if (cache::isInitialized()) {
if (!cache::isInitialized()) {
nhlog::db()->warn("SelfVerificationStatus: cache not initialized");
return;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment