mirror of
https://github.com/vector-im/hydrogen-web.git
synced 2025-02-02 07:31:38 +01:00
don't assume joinedData is set here
although not entirely sure why it wouldn't be
This commit is contained in:
parent
1dddabc038
commit
56ecd39f26
@ -324,7 +324,9 @@ export class GroupCall extends EventEmitter<{change: never}> {
|
||||
log.wrap("update own membership", log => {
|
||||
// TODO: should we check if new device is expired?
|
||||
if (this.hasJoined) {
|
||||
this.joinedData!.logItem.refDetached(log);
|
||||
if (this.joinedData) {
|
||||
this.joinedData.logItem.refDetached(log);
|
||||
}
|
||||
this._setupRenewMembershipTimeout(device, log);
|
||||
}
|
||||
if (this._state === GroupCallState.Joining) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user