diff --git a/src/TextForEvent.js b/src/TextForEvent.js index 3d6ba2cf64..71354325bd 100644 --- a/src/TextForEvent.js +++ b/src/TextForEvent.js @@ -43,6 +43,9 @@ function textForMemberEvent(ev) { else if (ev.getPrevContent().membership === "join") { return senderName + " kicked " + targetName + "." + reason; } + else if (ev.getPrevContent().membership === "invite") { + return senderName + " withdrew " + targetName + "'s invitation." + reason; + } else { return targetName + " left the room."; }