summary refs log tree commit diff
path: root/webclient
diff options
context:
space:
mode:
authorKegan Dougal <kegan@matrix.org>2014-09-18 11:35:59 +0100
committerErik Johnston <erik@matrix.org>2014-09-18 12:02:52 +0100
commita64ff63a41a5d49bccec24071587295596016b05 (patch)
tree282d6e40719aff62f91edfc5f5d160925f59a2d5 /webclient
parentUpdate version in UPGRADE (diff)
downloadsynapse-a64ff63a41a5d49bccec24071587295596016b05.tar.xz
SYWEB-3 : Boldify if the join_rule is public, rather than visibility so it plays nicer with federation.
Diffstat (limited to 'webclient')
-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">