mirror of
https://github.com/Nheko-Reborn/nheko.git
synced 2024-11-22 19:08:58 +03:00
Show own messages in RoomList
This commit is contained in:
parent
b1f1cb2b56
commit
15badebc77
1 changed files with 1 additions and 1 deletions
|
@ -525,7 +525,7 @@ TimelineModel::addEvents(const mtx::responses::Timeline &timeline)
|
|||
this->eventOrder.insert(this->eventOrder.end(), ids.begin(), ids.end());
|
||||
endInsertRows();
|
||||
|
||||
for (auto id = ids.rbegin(); id != ids.rend(); id++) {
|
||||
for (auto id = eventOrder.rbegin(); id != eventOrder.rend(); id++) {
|
||||
auto event = events.value(*id);
|
||||
if (auto e = boost::get<mtx::events::EncryptedEvent<mtx::events::msg::Encrypted>>(
|
||||
&event)) {
|
||||
|
|
Loading…
Reference in a new issue