Fix self verification status never updating

pull/812/head
Nicolas Werner 3 years ago
parent 7de24a4271
commit 809be93e20
No known key found for this signature in database
GPG Key ID: C8D75E610773F2D9
  1. 1
      src/ChatPage.cpp
  2. 3
      src/encryption/SelfVerificationStatus.cpp

@ -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;
}

Loading…
Cancel
Save