Display correct message for when an invited but not joined user is kicked.

pull/21833/head
David Baker 2015-10-05 16:44:50 +01:00
parent a1892ee963
commit b8dd2452db
1 changed files with 3 additions and 0 deletions

View File

@ -43,6 +43,9 @@ function textForMemberEvent(ev) {
else if (ev.getPrevContent().membership === "join") { else if (ev.getPrevContent().membership === "join") {
return senderName + " kicked " + targetName + "." + reason; return senderName + " kicked " + targetName + "." + reason;
} }
else if (ev.getPrevContent().membership === "invite") {
return senderName + " withdrew " + targetName + "'s invitation." + reason;
}
else { else {
return targetName + " left the room."; return targetName + " left the room.";
} }