mirror of
https://github.com/vector-im/element-web.git
synced 2025-12-11 12:21:15 +01:00
reject invites explicitly - fixes https://github.com/vector-im/vector-web/issues/1133
This commit is contained in:
parent
d8af6ec240
commit
f589bf6b2e
@ -78,6 +78,9 @@ function textForMemberEvent(ev) {
|
|||||||
if (ConferenceHandler && ConferenceHandler.isConferenceUser(ev.getStateKey())) {
|
if (ConferenceHandler && ConferenceHandler.isConferenceUser(ev.getStateKey())) {
|
||||||
return "VoIP conference finished";
|
return "VoIP conference finished";
|
||||||
}
|
}
|
||||||
|
else if (ev.getPrevContent().membership === "invite") {
|
||||||
|
return targetName + " rejected the invitation.";
|
||||||
|
}
|
||||||
else {
|
else {
|
||||||
return targetName + " left the room.";
|
return targetName + " left the room.";
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user