You've already forked element-web
mirror of
https://github.com/element-hq/element-web.git
synced 2025-12-01 09:58:03 +03:00
reject invites explicitly - fixes https://github.com/vector-im/vector-web/issues/1133
This commit is contained in:
@@ -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.";
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user