mirror of
https://github.com/Nheko-Reborn/nheko.git
synced 2024-11-25 20:48:52 +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();
|
||||
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 a new issue