mirror of
https://github.com/vector-im/hydrogen-web.git
synced 2025-01-22 10:11:39 +01:00
element call puts string in terminated, not a boolean
This commit is contained in:
parent
f4582f19f5
commit
e140a4ba64
@ -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 {
|
||||
|
Loading…
x
Reference in New Issue
Block a user