summary refs log tree commit diff
path: root/webclient/room/room.html
diff options
context:
space:
mode:
authorEmmanuel ROHEE <erohee@amdocs.com>2014-09-12 11:56:08 +0200
committerEmmanuel ROHEE <erohee@amdocs.com>2014-09-12 11:56:08 +0200
commit9819b3619e132d12ec2b6103c4b94de3936d6219 (patch)
tree2ae9a460cdb1309ae10a9f40ede60587e9ba1572 /webclient/room/room.html
parentHandle NAME_EVENT to get room name update event (diff)
downloadsynapse-9819b3619e132d12ec2b6103c4b94de3936d6219.tar.xz
CSS m.room.topic and m.room.name events in the history
Diffstat (limited to '')
-rw-r--r--webclient/room/room.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/webclient/room/room.html b/webclient/room/room.html
index 72c8a97adb..9d617eadd8 100644
--- a/webclient/room/room.html
+++ b/webclient/room/room.html
@@ -72,7 +72,7 @@
                     <img class="avatarImage" ng-src="{{ members[msg.user_id].avatar_url || 'img/default-profile.png' }}" width="32" height="32"
                          ng-hide="events.rooms[room_id].messages[$index - 1].user_id === msg.user_id || msg.user_id === state.user_id"/>
                 </td>
-                <td ng-class="!msg.content.membership ? (msg.content.msgtype === 'm.emote' ? 'emote text' : 'text') : 'membership text'">
+                <td ng-class="(!msg.content.membership && ('m.room.topic' !== msg.type && 'm.room.name' !== msg.type))? (msg.content.msgtype === 'm.emote' ? 'emote text' : 'text') : 'membership text'">
                     <div class="bubble">
                         <span ng-if="'join' === msg.content.membership">
                             {{ members[msg.state_key].displayname || msg.state_key }} joined