summary refs log tree commit diff
path: root/webclient/rooms/rooms.html
diff options
context:
space:
mode:
authorKegan Dougal <kegan@matrix.org>2014-08-15 15:40:37 +0100
committerKegan Dougal <kegan@matrix.org>2014-08-15 17:42:11 +0100
commit02e45da895133ebe80866b1374ad86ab64cc7fb9 (patch)
tree9c68b8bdfd2f6bf01bcb2b995f48e25042c76a66 /webclient/rooms/rooms.html
parentDocument that /rooms/:room_id/members/list yields profile and presence inform... (diff)
downloadsynapse-02e45da895133ebe80866b1374ad86ab64cc7fb9.tar.xz
When new invites come down, update the My Rooms list. Added hacks to make the display name a bit nicer (/im/sync needs to return room aliases / membership events better)
Diffstat (limited to '')
-rw-r--r--webclient/rooms/rooms.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/webclient/rooms/rooms.html b/webclient/rooms/rooms.html
index 5974bd940c..8edeb13ced 100644
--- a/webclient/rooms/rooms.html
+++ b/webclient/rooms/rooms.html
@@ -61,9 +61,9 @@
     
     <h3>My rooms</h3>
     
-    <div class="rooms" ng-repeat="room in rooms">
+    <div class="rooms" ng-repeat="(rm_id, room) in rooms">
         <div>
-            <a href="#/room/{{ room.room_id }}" >{{ room.room_alias }}</a>
+            <a href="#/room/{{ rm_id }}" >{{ room.room_alias }}</a> {{room.membership === 'invite' ? ' (invited)' : ''}}
         </div>
     </div>
     <br/>