summary refs log tree commit diff
path: root/src/timeline/TimelineModel.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/timeline/TimelineModel.cpp')
-rw-r--r--src/timeline/TimelineModel.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/timeline/TimelineModel.cpp b/src/timeline/TimelineModel.cpp
index 9eca05ba..371e9f58 100644
--- a/src/timeline/TimelineModel.cpp
+++ b/src/timeline/TimelineModel.cpp
@@ -374,7 +374,7 @@ TimelineModel::data(const QString &id, int role) const
                 else
                         return {};
         case RoomId:
-                return QVariant(QString::fromStdString(room_id(event)));
+                return QVariant(room_id_);
         case RoomName:
                 return QVariant(QString::fromStdString(room_name(event)));
         case RoomTopic: