summary refs log tree commit diff
path: root/webclient/room
diff options
context:
space:
mode:
authorDavid Baker <dbkr@matrix.org>2014-09-09 11:45:36 +0100
committerDavid Baker <dbkr@matrix.org>2014-09-09 11:45:36 +0100
commit16b40cbede292ae0faa073d18b5ff2175a531744 (patch)
tree3176824f8046ca65a65a0d1210a3cf6e888b25d7 /webclient/room
parentCSS tweakage (diff)
downloadsynapse-16b40cbede292ae0faa073d18b5ff2175a531744.tar.xz
Show call invites in the message table
Diffstat (limited to 'webclient/room')
-rw-r--r--webclient/room/room.html4
1 files changed, 4 insertions, 0 deletions
diff --git a/webclient/room/room.html b/webclient/room/room.html
index 01f0c4ee33..5debeaba7c 100644
--- a/webclient/room/room.html
+++ b/webclient/room/room.html
@@ -97,6 +97,10 @@
                         <span ng-show='msg.content.msgtype === "m.text"' 
                               ng-class="msg.echo_msg_state"
                               ng-bind-html="((msg.content.msgtype === 'm.text') ? msg.content.body : '') | linky:'_blank'"/>
+
+                        <span ng-show='msg.type === "m.call.invite" && msg.user_id == state.user_id'>Outgoing Call</span>
+                        <span ng-show='msg.type === "m.call.invite" && msg.user_id != state.user_id'>Incoming Call</span>
+
                         <div ng-show='msg.content.msgtype === "m.image"'>
                             <div ng-hide='msg.content.thumbnail_url' ng-style="msg.content.body.h && { 'height' : (msg.content.body.h < 320) ? msg.content.body.h : 320}">
                                 <img class="image" ng-src="{{ msg.content.url }}"/>