Fix self verification status never updating
This commit is contained in:
parent
7de24a4271
commit
809be93e20
@ -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…
Reference in New Issue
Block a user