summary refs log tree commit diff
diff options
context:
space:
mode:
authorEmmanuel ROHEE <erohee@amdocs.com>2014-08-29 09:49:03 +0200
committerEmmanuel ROHEE <erohee@amdocs.com>2014-08-29 09:49:03 +0200
commit9b2cb41dcf71590eab75774bc2fe1c42f9de4db1 (patch)
tree82aa9a710c4129b511758c33e51def97808cf3b7
parentng-show exists. So, for clarity, avoid to use ng-hide and double negation test. (diff)
downloadsynapse-9b2cb41dcf71590eab75774bc2fe1c42f9de4db1.tar.xz
Display emotes in the recents list
-rw-r--r--webclient/recents/recents.html5
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>