mirror of
https://github.com/vector-im/hydrogen-web.git
synced 2024-12-22 19:14:52 +01:00
element call also terminates prompt calls, so do so too
This commit is contained in:
parent
e140a4ba64
commit
043ad98866
@ -286,7 +286,7 @@ export class GroupCall extends EventEmitter<{change: never}> {
|
||||
const request = this.options.hsApi.sendState(this.roomId, EventType.GroupCallMember, this.options.ownUserId, memberContent, {log});
|
||||
await request.response();
|
||||
// our own user isn't included in members, so not in the count
|
||||
if (this.intent === CallIntent.Ring && this._members.size === 0) {
|
||||
if ((this.intent === CallIntent.Ring || this.intent === CallIntent.Prompt) && this._members.size === 0) {
|
||||
await this.terminate(log);
|
||||
}
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user