parent
9f3de8679d
commit
8767ea181d
11 changed files with 127 additions and 18 deletions
|
|
@ -677,6 +677,9 @@ ChatPage::bootstrap(QString userid, QString homeserver, QString token)
|
|||
view_manager_,
|
||||
&TimelineViewManager::updateReadReceipts);
|
||||
|
||||
connect(
|
||||
cache::client(), &Cache::roomReadStatus, room_list_, &RoomList::updateReadStatus);
|
||||
|
||||
const bool isInitialized = cache::client()->isInitialized();
|
||||
const bool isValid = cache::client()->isFormatValid();
|
||||
|
||||
|
|
@ -794,6 +797,8 @@ ChatPage::loadStateFromCache()
|
|||
emit initializeEmptyViews(cache::client()->roomMessages());
|
||||
emit initializeRoomList(cache::client()->roomInfo());
|
||||
|
||||
cache::client()->calculateRoomReadStatus();
|
||||
|
||||
} catch (const mtx::crypto::olm_exception &e) {
|
||||
nhlog::crypto()->critical("failed to restore olm account: {}", e.what());
|
||||
emit dropToLoginPageCb(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue