summary refs log tree commit diff
path: root/webclient/recents/recents.html
diff options
context:
space:
mode:
authorDavid Baker <dbkr@matrix.org>2014-09-01 14:27:03 +0100
committerDavid Baker <dbkr@matrix.org>2014-09-01 15:54:06 +0100
commit4e14e38bd5cad77dfcab1fdfa3d3a19250810413 (patch)
treeb9c7d2cbd2fff071772f738fd8635e4eb370474e /webclient/recents/recents.html
parentRename API-visible 'mtime' presence field to 'last_active'; slightly differen... (diff)
downloadsynapse-4e14e38bd5cad77dfcab1fdfa3d3a19250810413.tar.xz
Just show 'Call' for call events. Don't just splat out the content of the event for other events: it's rarely going to be sesnible.
Diffstat (limited to '')
-rw-r--r--webclient/recents/recents.html4
1 files changed, 3 insertions, 1 deletions
diff --git a/webclient/recents/recents.html b/webclient/recents/recents.html
index 3f025a98d8..56fb38b02a 100644
--- a/webclient/recents/recents.html
+++ b/webclient/recents/recents.html
@@ -51,7 +51,9 @@
                         </div>
 
                         <div ng-switch-default>
-                            {{ room.lastMsg }}
+                            <div ng-if="room.lastMsg.type.indexOf('m.call.') == 0">
+                                Call
+                            </div>
                         </div>
                     </div>
                 </td>