fix regression test

Signed-off-by: Timo K <toger5@hotmail.de>
This commit is contained in:
Timo K
2025-09-19 17:26:31 +02:00
parent e38c04b3b1
commit dd978b0e60
2 changed files with 2 additions and 2 deletions

View File

@@ -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",

View File

@@ -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.