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

This commit is contained in:
Kegan Dougal 2014-09-18 11:35:59 +01:00 committed by Erik Johnston
parent 17db2b27bf
commit a64ff63a41
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">