From 82cf76a8f963ee242e90b401b31d9da88fd493eb Mon Sep 17 00:00:00 2001 From: Emmanuel ROHEE Date: Thu, 4 Sep 2014 09:08:34 +0200 Subject: [PATCH] Report ban/unban messages to recents lists --- webclient/recents/recents.html | 27 +++++++++++++++++++-------- 1 file changed, 19 insertions(+), 8 deletions(-) diff --git a/webclient/recents/recents.html b/webclient/recents/recents.html index 9978e08b13..4db9e2ae90 100644 --- a/webclient/recents/recents.html +++ b/webclient/recents/recents.html @@ -16,15 +16,26 @@ -
- {{ room.inviter }} invited you -
-
-
- {{ room.lastMsg.user_id }} - {{ {"join": "joined", "leave": "left", "invite": "invited", "ban": "banned"}[msg.content.membership] }} - {{ (msg.content.membership === "invite" || msg.content.membership === "ban") ? (msg.state_key || '') : '' }} +
+ + {{ room.lastMsg.state_key }} joined + + + + {{room.lastMsg.state_key }} left + + + {{ room.lastMsg.user_id }} + {{ {"join": "kicked", "ban": "unbanned"}[room.lastMsg.content.prev] }} + {{ room.lastMsg.state_key }} + + + + {{ room.lastMsg.user_id }} + {{ {"invite": "invited", "ban": "banned"}[room.lastMsg.content.membership] }} + {{ room.lastMsg.state_key }} +