mirror of
https://github.com/Nheko-Reborn/nheko.git
synced 2024-11-25 20:48:52 +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());
|
this->eventOrder.insert(this->eventOrder.end(), ids.begin(), ids.end());
|
||||||
endInsertRows();
|
endInsertRows();
|
||||||
|
|
||||||
for (auto id = ids.rbegin(); id != ids.rend(); id++) {
|
for (auto id = eventOrder.rbegin(); id != eventOrder.rend(); id++) {
|
||||||
auto event = events.value(*id);
|
auto event = events.value(*id);
|
||||||
if (auto e = boost::get<mtx::events::EncryptedEvent<mtx::events::msg::Encrypted>>(
|
if (auto e = boost::get<mtx::events::EncryptedEvent<mtx::events::msg::Encrypted>>(
|
||||||
&event)) {
|
&event)) {
|
||||||
|
|
Loading…
Reference in a new issue