summary refs log tree commit diff
path: root/webclient/recents
diff options
context:
space:
mode:
authorKegan Dougal <kegan@matrix.org>2014-09-08 12:11:36 -0700
committerKegan Dougal <kegan@matrix.org>2014-09-08 12:15:29 -0700
commit76fe7d4eba334cee8b5c18ac26da709106dff1a2 (patch)
tree7048fb140aa290d902d82b2911347f71e9078ecf /webclient/recents
parentHandle the case where we don't have a common ancestor (diff)
downloadsynapse-76fe7d4eba334cee8b5c18ac26da709106dff1a2.tar.xz
Added num_joined_users key to /publicRooms for each room. Show this information in the webclient.
Diffstat (limited to 'webclient/recents')
-rw-r--r--webclient/recents/recents.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/webclient/recents/recents.html b/webclient/recents/recents.html
index b903412815..efc5c39689 100644
--- a/webclient/recents/recents.html
+++ b/webclient/recents/recents.html
@@ -9,7 +9,7 @@
                     {{ room.room_id | mRoomName }}
                 </td>
                 <td class="recentsRoomSummaryTS">
-                    {{ room.numUsersInRoom }} users
+                    {{ room.numUsersInRoom }} {{ room.numUsersInRoom == 1 ? 'user' : 'users' }}
                 </td>
                 <td class="recentsRoomSummaryTS">
                     {{ (room.lastMsg.ts) | date:'MMM d HH:mm' }}