forked from mystiq/hydrogen-web
reconnect when detecting session id change, so we send invite if needed
This commit is contained in:
parent
bffce7fafe
commit
4f2999f8d8
1 changed files with 3 additions and 1 deletions
|
@ -143,7 +143,9 @@ export class Member {
|
||||||
const localMedia = this.localMedia;
|
const localMedia = this.localMedia;
|
||||||
this.localMedia = undefined;
|
this.localMedia = undefined;
|
||||||
this.disconnect(false);
|
this.disconnect(false);
|
||||||
this.localMedia = localMedia;
|
// connect again, as the other side might be waiting for our invite
|
||||||
|
// after refreshing
|
||||||
|
this.connect(localMedia!, this.localMuteSettings!);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
this.callDeviceMembership = callDeviceMembership;
|
this.callDeviceMembership = callDeviceMembership;
|
||||||
|
|
Loading…
Reference in a new issue