diff --git a/webclient/room/room.html b/webclient/room/room.html
index e29f511ecf..4b6a00bffa 100644
--- a/webclient/room/room.html
+++ b/webclient/room/room.html
@@ -48,11 +48,14 @@
-
+
+ {{ members[msg.state_key].displayname || msg.state_key }}
+ {{ {"join": "joined", "leave": "left"}[msg.content.membership] }}
+
+
{{ members[msg.user_id].displayname || msg.user_id }}
- {{ {"join": "joined", "leave": "left", "invite": "invited", "ban": "banned"}[msg.content.membership] }}
- {{ (msg.content.membership === "invite" || msg.content.membership === "ban") ? (msg.state_key || '') : '' }}
-
+ {{ {"invite": "invited", "ban": "banned"}[msg.content.membership] }}
+ {{ msg.state_key }}
|