mirror of https://github.com/vector-im/riot-web
reject invites explicitly - fixes https://github.com/vector-im/vector-web/issues/1133
parent
d8af6ec240
commit
f589bf6b2e
|
@ -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.";
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue