mirror of
https://github.com/Nheko-Reborn/nheko.git
synced 2024-11-25 04:28:49 +03:00
parent
1994ea634e
commit
76bf255d4b
1 changed files with 2 additions and 1 deletions
|
@ -264,7 +264,8 @@ EventStore::EventStore(std::string room_id, QObject *)
|
|||
auto idx = idToIndex(pending_event_id);
|
||||
|
||||
events_by_id_.remove({room_id_, pending_event_id});
|
||||
events_.remove({room_id_, toInternalIdx(*idx)});
|
||||
if (idx)
|
||||
events_.remove({room_id_, toInternalIdx(*idx)});
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue