summary refs log tree commit diff
path: root/src/timeline/TimelineView.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/timeline/TimelineView.cpp')
-rw-r--r--src/timeline/TimelineView.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/timeline/TimelineView.cpp b/src/timeline/TimelineView.cpp

index 074ba498..61a507b3 100644 --- a/src/timeline/TimelineView.cpp +++ b/src/timeline/TimelineView.cpp
@@ -232,6 +232,9 @@ TimelineView::parseMessageEvent(const mtx::events::collections::TimelineEvents & item->saveDatetime(QDateTime::fromMSecsSinceEpoch(msg.origin_server_ts)); 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; } else if (mpark::holds_alternative<RoomEvent<msg::Audio>>(event)) { auto audio = mpark::get<RoomEvent<msg::Audio>>(event);