diff options
author | David Baker <dbkr@matrix.org> | 2014-09-01 14:27:03 +0100 |
---|---|---|
committer | David Baker <dbkr@matrix.org> | 2014-09-01 15:54:06 +0100 |
commit | 4e14e38bd5cad77dfcab1fdfa3d3a19250810413 (patch) | |
tree | b9c7d2cbd2fff071772f738fd8635e4eb370474e /webclient/recents/recents.html | |
parent | Rename API-visible 'mtime' presence field to 'last_active'; slightly differen... (diff) | |
download | synapse-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 'webclient/recents/recents.html')
-rw-r--r-- | webclient/recents/recents.html | 4 |
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> |