summary refs log tree commit diff
path: root/webclient
diff options
context:
space:
mode:
authorKegan Dougal <kegan@matrix.org>2014-10-31 10:06:28 +0000
committerKegan Dougal <kegan@matrix.org>2014-10-31 10:06:28 +0000
commit188de756be6afa82069bae0b6bbb87f93fba79a8 (patch)
tree1b3f334ae411bc549832cafcbe8017d958cdab7d /webclient
parentSYWEB-63: Fix desktop notification message when notifying for an image. (diff)
downloadsynapse-188de756be6afa82069bae0b6bbb87f93fba79a8.tar.xz
SYWEB-45: Display the user_id of a user when hovering over their avatar next to their messages.
Diffstat (limited to 'webclient')
-rw-r--r--webclient/room/room.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/webclient/room/room.html b/webclient/room/room.html
index fac7433a4b..5265f42dd8 100644
--- a/webclient/room/room.html
+++ b/webclient/room/room.html
@@ -133,7 +133,7 @@
                     </div>
                 </td>
                 <td class="avatar">
-                    <img class="avatarImage" ng-src="{{ members[msg.user_id].avatar_url || 'img/default-profile.png' }}" width="32" height="32"
+                    <img class="avatarImage" ng-src="{{ members[msg.user_id].avatar_url || 'img/default-profile.png' }}" width="32" height="32" title="{{msg.user_id}}"
                          ng-hide="events.rooms[room_id].messages[$index - 1].user_id === msg.user_id || msg.user_id === state.user_id"/>
                 </td>
                 <td ng-class="(!msg.content.membership && ('m.room.topic' !== msg.type && 'm.room.name' !== msg.type))? (msg.content.msgtype === 'm.emote' ? 'emote text' : 'text') : 'membership text'">