Skip to content

Commit c83ff1c

Browse files
committed
hide events with no text equiv
1 parent db94a93 commit c83ff1c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎src/TextForEvent.js‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ function textForMemberEvent(ev) {
3232
if (!ev.target) console.warn("Join message has no target! -- " + ev.getContent().state_key);
3333
return targetName + " joined the room.";
3434
}
35-
return 'Unrecognised join event';
35+
return '';
3636
case 'leave':
3737
if (ev.getSender() === ev.getStateKey()) {
3838
return targetName + " left the room.";

0 commit comments

Comments
 (0)