Clean up key requests + autoreload
This commit is contained in:
parent
983690c94f
commit
cea7f4574f
11 changed files with 84 additions and 56 deletions
|
|
@ -440,6 +440,15 @@ TimelineViewManager::updateReadReceipts(const QString &room_id,
|
|||
}
|
||||
}
|
||||
|
||||
void
|
||||
TimelineViewManager::receivedSessionKey(const std::string &room_id, const std::string &session_id)
|
||||
{
|
||||
auto room = models.find(QString::fromStdString(room_id));
|
||||
if (room != models.end()) {
|
||||
room.value()->receivedSessionKey(session_id);
|
||||
}
|
||||
}
|
||||
|
||||
void
|
||||
TimelineViewManager::initWithMessages(const std::map<QString, mtx::responses::Timeline> &msgs)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue