summary refs log tree commit diff
path: root/webclient/recents/recents.html
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--webclient/recents/recents.html6
1 files changed, 6 insertions, 0 deletions
diff --git a/webclient/recents/recents.html b/webclient/recents/recents.html
index 1c059249bf..280d0632ab 100644
--- a/webclient/recents/recents.html
+++ b/webclient/recents/recents.html
@@ -34,11 +34,17 @@
                                     {{ {"join": "kicked", "ban": "unbanned"}[room.lastMsg.content.prev] }}
                                     {{ room.lastMsg.state_key | mUserDisplayName: room.room_id }}
                                 </span>
+                                <span ng-if="'join' === room.lastMsg.content.prev && room.lastMsg.content.reason">
+                                    : {{ room.lastMsg.content.reason }}
+                                </span>
                             </span>
                             <span ng-if="'invite' === room.lastMsg.content.membership || 'ban' === room.lastMsg.content.membership">
                                 {{ room.lastMsg.user_id | mUserDisplayName: room.room_id }}
                                 {{ {"invite": "invited", "ban": "banned"}[room.lastMsg.content.membership] }}
                                 {{ room.lastMsg.state_key | mUserDisplayName: room.room_id }}
+                                <span ng-if="'ban' === room.lastMsg.content.prev && room.lastMsg.content.reason">
+                                    : {{ room.lastMsg.content.reason }}
+                                </span>
                             </span>
                         </div>