diff --git a/src/ChatPage.cpp b/src/ChatPage.cpp index eec8a4d1..0b8f2301 100644 --- a/src/ChatPage.cpp +++ b/src/ChatPage.cpp @@ -373,6 +373,7 @@ ChatPage::bootstrap(QString userid, QString homeserver, QString token) getBackupVersion(); tryInitialSync(); callManager_->refreshTurnServer(); + emit MainWindow::instance()->reload(); }); connect(cache::client(), diff --git a/src/encryption/SelfVerificationStatus.cpp b/src/encryption/SelfVerificationStatus.cpp index 5fa8d831..3ddbc7e6 100644 --- a/src/encryption/SelfVerificationStatus.cpp +++ b/src/encryption/SelfVerificationStatus.cpp @@ -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; }