summary refs log tree commit diff
path: root/src/timeline2/TimelineModel.cpp
diff options
context:
space:
mode:
authorNicolas Werner <nicolas.werner@hotmail.de>2019-09-07 22:22:07 +0200
committerNicolas Werner <nicolas.werner@hotmail.de>2019-11-23 20:06:14 +0100
commitebeb1eb7721f357b016f6e914509918b6bee5356 (patch)
tree57ab5d3588cf6d01b497cba762056ea132044cf6 /src/timeline2/TimelineModel.cpp
parentFix new messages not arriving in qml timeline (diff)
downloadnheko-ebeb1eb7721f357b016f6e914509918b6bee5356.tar.xz
Implement avatars in qml timeline
Diffstat (limited to 'src/timeline2/TimelineModel.cpp')
-rw-r--r--src/timeline2/TimelineModel.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/timeline2/TimelineModel.cpp b/src/timeline2/TimelineModel.cpp

index 28820205..310494b4 100644 --- a/src/timeline2/TimelineModel.cpp +++ b/src/timeline2/TimelineModel.cpp
@@ -326,6 +326,12 @@ TimelineModel::displayName(QString id) const } QString +TimelineModel::avatarUrl(QString id) const +{ + return Cache::avatarUrl(room_id_, id); +} + +QString TimelineModel::formatDateSeparator(QDate date) const { auto now = QDateTime::currentDateTime();