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
parent fbf221ae6d
commit 9cebfd9d90

View File

@ -5,7 +5,7 @@
class ="recentsRoom" class ="recentsRoom"
ng-class="{'recentsRoomSelected': (room.room_id === recentsSelectedRoomID)}"> ng-class="{'recentsRoomSelected': (room.room_id === recentsSelectedRoomID)}">
<tr> <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 }} {{ room.room_id | mRoomName }}
</td> </td>
<td class="recentsRoomSummaryUsersCount"> <td class="recentsRoomSummaryUsersCount">