aboutsummaryrefslogtreecommitdiff
path: root/room.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'room.cpp')
-rw-r--r--room.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/room.cpp b/room.cpp
index 4f58e393..1b6afac9 100644
--- a/room.cpp
+++ b/room.cpp
@@ -414,6 +414,11 @@ int Room::memberCount() const
return d->membersMap.size();
}
+int Room::timelineSize() const
+{
+ return int(d->timeline.size());
+}
+
void Room::Private::insertMemberIntoMap(User *u)
{
auto namesakes = membersMap.values(u->name());