You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-07-30 02:21:17 +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