mirror of
https://github.com/element-hq/element-web
synced 2024-11-27 03:36:07 +03:00
hide events with no text equiv
This commit is contained in:
parent
db94a93fde
commit
c83ff1c623
1 changed files with 1 additions and 1 deletions
|
@ -32,7 +32,7 @@ function textForMemberEvent(ev) {
|
|||
if (!ev.target) console.warn("Join message has no target! -- " + ev.getContent().state_key);
|
||||
return targetName + " joined the room.";
|
||||
}
|
||||
return 'Unrecognised join event';
|
||||
return '';
|
||||
case 'leave':
|
||||
if (ev.getSender() === ev.getStateKey()) {
|
||||
return targetName + " left the room.";
|
||||
|
|
Loading…
Reference in a new issue