mirror of https://github.com/vector-im/riot-web
Display correct message for when an invited but not joined user is kicked.
parent
a1892ee963
commit
b8dd2452db
|
@ -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.";
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue