diff --git a/src/state/CallViewModel.test.ts b/src/state/CallViewModel.test.ts index 3266c67a..ef4ef762 100644 --- a/src/state/CallViewModel.test.ts +++ b/src/state/CallViewModel.test.ts @@ -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", b: "ringing", c: "timeout", diff --git a/src/state/CallViewModel.ts b/src/state/CallViewModel.ts index 072e84dc..462e4afc 100644 --- a/src/state/CallViewModel.ts +++ b/src/state/CallViewModel.ts @@ -975,7 +975,7 @@ export class CallViewModel extends ViewModel { if (livekitConnectionState === ConnectionState.Disconnected) { // Do not ring until we're connected. return "unknown" as const; - } else if (someoneElseJoined && ring !== null) { + } else if (someoneElseJoined) { return "success" as const; } // Show the ringing state of the most recent ringing attempt.