summary refs log tree commit diff
path: root/webclient/recents
diff options
context:
space:
mode:
authorEmmanuel ROHEE <erohee@amdocs.com>2014-08-27 16:24:23 +0200
committerEmmanuel ROHEE <erohee@amdocs.com>2014-08-27 16:24:23 +0200
commitfb9661898d09c7a391abcc56a9c4b51d8065e491 (patch)
treed8aa5ced66fdbd777f450e8a66d91fb458bbae4d /webclient/recents
parentSort recents in anti-chronological order (diff)
downloadsynapse-fb9661898d09c7a391abcc56a9c4b51d8065e491.tar.xz
BF: use room_id if there is no alias
Diffstat (limited to 'webclient/recents')
-rw-r--r--webclient/recents/recents.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/webclient/recents/recents.html b/webclient/recents/recents.html
index 6b9abce02c..6d2864ac97 100644
--- a/webclient/recents/recents.html
+++ b/webclient/recents/recents.html
@@ -1,6 +1,6 @@
 <div ng-controller="RecentsController" data-ng-init="onInit()">
     <table class="recentsTable">
-        <tbody ng-repeat="(rm_id, room) in rooms | orderRecents" ng-click="goToPage('room/' + (room.room_alias ? room.room_alias : rm_id) )" class ="recentsRoom" >
+        <tbody ng-repeat="(rm_id, room) in rooms | orderRecents" ng-click="goToPage('room/' + (room.room_alias ? room.room_alias : room.room_id) )" class ="recentsRoom" >
             <tr>
                 <td class="recentsRoomName">
                     {{ room.room_display_name }}