mirror of
https://github.com/Nheko-Reborn/nheko.git
synced 2024-11-25 20:48:52 +03:00
parent
00f99d9ae5
commit
5540fc0737
1 changed files with 3 additions and 0 deletions
|
@ -232,6 +232,9 @@ TimelineView::parseMessageEvent(const mtx::events::collections::TimelineEvents &
|
||||||
item->saveDatetime(QDateTime::fromMSecsSinceEpoch(msg.origin_server_ts));
|
item->saveDatetime(QDateTime::fromMSecsSinceEpoch(msg.origin_server_ts));
|
||||||
eventIds_[event_id] = item;
|
eventIds_[event_id] = item;
|
||||||
|
|
||||||
|
// Force the next message to have avatar by not providing the current username.
|
||||||
|
saveMessageInfo("", msg.origin_server_ts, direction);
|
||||||
|
|
||||||
return item;
|
return item;
|
||||||
} else if (mpark::holds_alternative<RoomEvent<msg::Audio>>(event)) {
|
} else if (mpark::holds_alternative<RoomEvent<msg::Audio>>(event)) {
|
||||||
auto audio = mpark::get<RoomEvent<msg::Audio>>(event);
|
auto audio = mpark::get<RoomEvent<msg::Audio>>(event);
|
||||||
|
|
Loading…
Reference in a new issue