summary refs log tree commit diff
diff options
context:
space:
mode:
authorEmmanuel ROHEE <erohee@amdocs.com>2014-09-05 14:55:17 +0200
committerEmmanuel ROHEE <erohee@amdocs.com>2014-09-05 14:55:17 +0200
commitc407ed070c6001c4f9fed33364affb6426d72ae0 (patch)
tree264da90bd7e5b4f81d5cc2d0302cc72ad996ac44
parenthide the forgot password link until it works (diff)
downloadsynapse-c407ed070c6001c4f9fed33364affb6426d72ae0.tar.xz
BF: Show "Bob invited you" in recents when Bob invites the user
Diffstat (limited to '')
-rw-r--r--webclient/recents/recents.html6
1 files changed, 5 insertions, 1 deletions
diff --git a/webclient/recents/recents.html b/webclient/recents/recents.html
index 2e1f897725..1c059249bf 100644
--- a/webclient/recents/recents.html
+++ b/webclient/recents/recents.html
@@ -16,7 +16,11 @@
             <tr>
                 <td colspan="2" class="recentsRoomSummary">
 
-                    <div ng-hide="room.membership === 'invite'" ng-switch="room.lastMsg.type" >
+                    <div ng-show="room.membership === 'invite'">
+                        {{ room.lastMsg.inviter | mUserDisplayName: room.room_id }} invited you
+                    </div>
+                    
+                    <div ng-hide="room.membership === 'invite'" ng-switch="room.lastMsg.type">
                         <div ng-switch-when="m.room.member">
                             <span ng-if="'join' === room.lastMsg.content.membership">
                                 {{ room.lastMsg.state_key | mUserDisplayName: room.room_id}} joined