mirror of
https://github.com/vector-im/hydrogen-web.git
synced 2024-12-22 19:14:52 +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…
Reference in New Issue
Block a user