1
0
mirror of https://github.com/matrix-org/matrix-react-sdk.git synced 2025-06-26 04:01:04 +03:00
This commit is contained in:
Matthew Hodgson
2016-03-16 01:16:15 +00:00
parent d8af6ec240
commit f589bf6b2e

View File

@ -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.";
}