SYWEB-3 : Boldify if the join_rule is public, rather than visibility so it plays nicer with federation.

pull/10/head
Kegan Dougal 2014-09-18 11:35:59 +01:00
parent fbf221ae6d
commit 9cebfd9d90
1 changed files with 1 additions and 1 deletions

View File

@ -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">