mirror of
https://github.com/element-hq/synapse.git
synced 2024-11-26 11:36:03 +03:00
CSS m.room.topic and m.room.name events in the history
This commit is contained in:
parent
311dc61803
commit
9819b3619e
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue