summary refs log tree commit diff
path: root/webclient/home/home.html
diff options
context:
space:
mode:
authorKegan Dougal <kegan@matrix.org>2014-09-08 12:15:20 -0700
committerKegan Dougal <kegan@matrix.org>2014-09-08 12:15:29 -0700
commite0954f3b365c3f9f99ab8d91fc18ff933d836e72 (patch)
treeb0f636476266958e18311977d23713e7943f8d1a /webclient/home/home.html
parentAdded num_joined_users key to /publicRooms for each room. Show this informati... (diff)
downloadsynapse-e0954f3b365c3f9f99ab8d91fc18ff933d836e72.tar.xz
Better checks are better.
Diffstat (limited to 'webclient/home/home.html')
-rw-r--r--webclient/home/home.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/webclient/home/home.html b/webclient/home/home.html
index cf6771814c..f3abd76a05 100644
--- a/webclient/home/home.html
+++ b/webclient/home/home.html
@@ -30,7 +30,7 @@
                 ng-class="room.room_display_name.toLowerCase().indexOf('#matrix:') === 0 ? 'roomHighlight' : ''">
                 {{ room.room_display_name }}
             </a>
-            <div ng-show="'num_joined_members' in room">
+            <div ng-show="room.num_joined_members">
                 {{ room.num_joined_members }} {{ room.num_joined_members == 1 ? 'user' : 'users' }}
             </div>
         </div>