diff --git a/src/TextForEvent.js b/src/TextForEvent.js index 5c733d98e7..10e529dfa7 100644 --- a/src/TextForEvent.js +++ b/src/TextForEvent.js @@ -78,6 +78,9 @@ function textForMemberEvent(ev) { if (ConferenceHandler && ConferenceHandler.isConferenceUser(ev.getStateKey())) { return "VoIP conference finished"; } + else if (ev.getPrevContent().membership === "invite") { + return targetName + " rejected the invitation."; + } else { return targetName + " left the room."; }