diff options
author | Emmanuel ROHEE <erohee@amdocs.com> | 2014-09-10 18:29:52 +0200 |
---|---|---|
committer | Emmanuel ROHEE <erohee@amdocs.com> | 2014-09-10 18:29:52 +0200 |
commit | 7a153b5c94bbd4f1778a2d32ee5c090967c5cb83 (patch) | |
tree | ad23d442e0c80e41eeaa08434613e602957e70b3 /webclient | |
parent | Reenabled transparent echo message. It turns to opaque without flickering now. (diff) | |
download | synapse-7a153b5c94bbd4f1778a2d32ee5c090967c5cb83.tar.xz |
Show echoed emote with transparency
Diffstat (limited to 'webclient')
-rw-r--r-- | webclient/room/room.html | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/webclient/room/room.html b/webclient/room/room.html index 5debeaba7c..054b876f81 100644 --- a/webclient/room/room.html +++ b/webclient/room/room.html @@ -93,7 +93,10 @@ </span> </span> - <span ng-show='msg.content.msgtype === "m.emote"' ng-bind-html="'* ' + (members[msg.user_id].displayname || msg.user_id) + ' ' + msg.content.body | linky:'_blank'"/> + <span ng-show='msg.content.msgtype === "m.emote"' + ng-class="msg.echo_msg_state" + ng-bind-html="'* ' + (members[msg.user_id].displayname || msg.user_id) + ' ' + msg.content.body | linky:'_blank'"/> + <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'"/> |