element call puts string in terminated, not a boolean

This commit is contained in:
Bruno Windels 2023-01-23 15:06:06 +01:00
parent f4582f19f5
commit e140a4ba64

View File

@ -140,7 +140,7 @@ export class GroupCall extends EventEmitter<{change: never}> {
get members(): BaseObservableMap<string, Member> { return this._members; }
get isTerminated(): boolean {
return this.callContent?.["m.terminated"] === true;
return !!this.callContent?.["m.terminated"];
}
get isRinging(): boolean {