diff options
author | Emmanuel ROHEE <erohee@amdocs.com> | 2014-08-29 09:49:03 +0200 |
---|---|---|
committer | Emmanuel ROHEE <erohee@amdocs.com> | 2014-08-29 09:49:03 +0200 |
commit | 9b2cb41dcf71590eab75774bc2fe1c42f9de4db1 (patch) | |
tree | 82aa9a710c4129b511758c33e51def97808cf3b7 /webclient | |
parent | ng-show exists. So, for clarity, avoid to use ng-hide and double negation test. (diff) | |
download | synapse-9b2cb41dcf71590eab75774bc2fe1c42f9de4db1.tar.xz |
Display emotes in the recents list
Diffstat (limited to '')
-rw-r--r-- | webclient/recents/recents.html | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/webclient/recents/recents.html b/webclient/recents/recents.html index 6fda6c5c6b..3f025a98d8 100644 --- a/webclient/recents/recents.html +++ b/webclient/recents/recents.html @@ -39,6 +39,11 @@ {{ room.lastMsg.user_id }} sent an image </div> + <div ng-switch-when="m.emote"> + <span ng-bind-html="'* ' + (room.lastMsg.user_id) + ' ' + room.lastMsg.content.body | linky:'_blank'"> + </span> + </div> + <div ng-switch-default> {{ room.lastMsg.content }} </div> |