mirror of
https://github.com/vector-im/hydrogen-web.git
synced 2024-11-20 03:25:52 +01:00
also allow clean up while still in Joining state, otherwise we get stuck
in joined state but without joinedData
This commit is contained in:
parent
282cba0ff1
commit
b5f686b10e
@ -437,7 +437,7 @@ export class GroupCall extends EventEmitter<{change: never}> {
|
||||
|
||||
/** @internal */
|
||||
disconnect(log: ILogItem) {
|
||||
if (this._state === GroupCallState.Joined) {
|
||||
if (this.hasJoined) {
|
||||
for (const [,member] of this._members) {
|
||||
const disconnectLogItem = member.disconnect(true);
|
||||
if (disconnectLogItem) {
|
||||
|
Loading…
Reference in New Issue
Block a user