Show own messages in RoomList

This commit is contained in:
Nicolas Werner 2019-10-28 20:39:02 +01:00
parent b1f1cb2b56
commit 15badebc77
1 changed files with 1 additions and 1 deletions

View File

@ -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)) {