mirror of
https://git.anonymousland.org/anonymousland/synapse-product.git
synced 2025-10-09 21:48:26 -04:00
Do not show banned people in member list. Format ban events strings in room and recent flows
This commit is contained in:
parent
8ad056b207
commit
4ba5b4b55d
3 changed files with 10 additions and 4 deletions
|
@ -23,8 +23,8 @@
|
|||
<div ng-hide="room.membership === 'invite'" ng-switch="room.lastMsg.type" >
|
||||
<div ng-switch-when="m.room.member">
|
||||
{{ room.lastMsg.user_id }}
|
||||
{{ {"join": "joined", "leave": "left", "invite": "invited"}[room.lastMsg.content.membership] }}
|
||||
{{ room.lastMsg.content.membership === "invite" ? (room.lastMsg.state_key || '') : '' }}
|
||||
{{ {"join": "joined", "leave": "left", "invite": "invited", "ban": "banned"}[msg.content.membership] }}
|
||||
{{ (msg.content.membership === "invite" || msg.content.membership === "ban") ? (msg.state_key || '') : '' }}
|
||||
</div>
|
||||
|
||||
<div ng-switch-when="m.room.message">
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue