mirror of
https://github.com/vector-im/element-call.git
synced 2026-03-22 06:30:25 +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",
|
||||
b: "ringing",
|
||||
c: "timeout",
|
||||
|
||||
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user