reject invites explicitly - fixes https://github.com/vector-im/vector-web/issues/1133
This commit is contained in:
parent
d8af6ec240
commit
f589bf6b2e
1 changed files with 3 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue