mirror of
https://mau.dev/maunium/synapse.git
synced 2024-12-14 21:33:53 +01:00
If possible, use href with room alias in rooms list
This commit is contained in:
parent
e5257b21b3
commit
cebceb7b9d
1 changed files with 2 additions and 2 deletions
|
@ -65,7 +65,7 @@
|
||||||
|
|
||||||
<div class="rooms" ng-repeat="(rm_id, room) in rooms">
|
<div class="rooms" ng-repeat="(rm_id, room) in rooms">
|
||||||
<div>
|
<div>
|
||||||
<a href="#/room/{{ rm_id }}" >{{ room.room_alias }}</a> {{room.membership === 'invite' ? ' (invited)' : ''}}
|
<a href="#/room/{{ room.room_alias ? room.room_alias : rm_id }}" >{{ room.room_alias }}</a> {{room.membership === 'invite' ? ' (invited)' : ''}}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<br/>
|
<br/>
|
||||||
|
@ -74,7 +74,7 @@
|
||||||
|
|
||||||
<div class="public_rooms" ng-repeat="room in public_rooms">
|
<div class="public_rooms" ng-repeat="room in public_rooms">
|
||||||
<div>
|
<div>
|
||||||
<a href="#/room/{{ room.room_id }}" >{{ room.room_alias }}</a>
|
<a href="#/room/{{ room.room_alias ? room.room_alias : room.room_id }}" >{{ room.room_alias }}</a>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<br/>
|
<br/>
|
||||||
|
|
Loading…
Reference in a new issue