summary refs log tree commit diff
path: root/webclient/recents/recents.html
diff options
context:
space:
mode:
authorKegan Dougal <kegan@matrix.org>2014-09-18 11:35:59 +0100
committerKegan Dougal <kegan@matrix.org>2014-09-18 11:35:59 +0100
commit9cebfd9d90b6b35b49b85d2405dccd9a4e6d7f92 (patch)
tree9dd9862c25e3ad3f9aba9151d61fbe105384eb84 /webclient/recents/recents.html
parentPatch for SYWEB-40 : isStateEvent is not being set correctly, and really shou... (diff)
downloadsynapse-9cebfd9d90b6b35b49b85d2405dccd9a4e6d7f92.tar.xz
SYWEB-3 : Boldify if the join_rule is public, rather than visibility so it plays nicer with federation.
Diffstat (limited to '')
-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 7fec8f03e5..edfc1677eb 100644
--- a/webclient/recents/recents.html
+++ b/webclient/recents/recents.html
@@ -5,7 +5,7 @@
                class ="recentsRoom" 
                ng-class="{'recentsRoomSelected': (room.room_id === recentsSelectedRoomID)}">                                           
             <tr>
-                <td ng-class="room.visibility == 'public' ? 'recentsRoomName recentsPublicRoom' : 'recentsRoomName'">
+                <td ng-class="room['m.room.join_rules'].content.join_rule == 'public' ? 'recentsRoomName recentsPublicRoom' : 'recentsRoomName'">
                     {{ room.room_id | mRoomName }}
                 </td>
                 <td class="recentsRoomSummaryUsersCount">