0
0
Fork 1
mirror of https://mau.dev/maunium/synapse.git synced 2024-12-30 05:03:55 +01:00

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

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