Fix secrets status not shown after startup

This commit is contained in:
Nicolas Werner 2021-11-11 21:40:23 +01:00
parent 6c5807ed0c
commit d6f4f3a647
No known key found for this signature in database
GPG Key ID: C8D75E610773F2D9
1 changed files with 4 additions and 0 deletions

View File

@ -246,6 +246,10 @@ MainWindow::showChatPage()
login_page_->reset();
chat_page_->bootstrap(userid, homeserver, token);
connect(cache::client(),
&Cache::databaseReady,
userSettingsPage_,
&UserSettingsPage::updateSecretStatus);
connect(cache::client(),
&Cache::secretChanged,
userSettingsPage_,