mirror of
https://github.com/vector-im/element-call.git
synced 2026-09-01 21:25:18 +00:00
@@ -1274,7 +1274,7 @@ describe("waitForCallPickup$", () => {
|
|||||||
},
|
},
|
||||||
});
|
});
|
||||||
|
|
||||||
expectObservable(vm.callPickupState$).toBe("a 9ms b 29ms c", {
|
expectObservable(vm.callPickupState$).toBe("a 9ms b 19ms c", {
|
||||||
a: "unknown",
|
a: "unknown",
|
||||||
b: "ringing",
|
b: "ringing",
|
||||||
c: "timeout",
|
c: "timeout",
|
||||||
|
|||||||
@@ -975,7 +975,7 @@ export class CallViewModel extends ViewModel {
|
|||||||
if (livekitConnectionState === ConnectionState.Disconnected) {
|
if (livekitConnectionState === ConnectionState.Disconnected) {
|
||||||
// Do not ring until we're connected.
|
// Do not ring until we're connected.
|
||||||
return "unknown" as const;
|
return "unknown" as const;
|
||||||
} else if (someoneElseJoined && ring !== null) {
|
} else if (someoneElseJoined) {
|
||||||
return "success" as const;
|
return "success" as const;
|
||||||
}
|
}
|
||||||
// Show the ringing state of the most recent ringing attempt.
|
// Show the ringing state of the most recent ringing attempt.
|
||||||
|
|||||||
Reference in New Issue
Block a user