From a5c82425f4e6ba1538294c199ac12a4bf42e2635 Mon Sep 17 00:00:00 2001 From: link2xt Date: Thu, 25 Sep 2025 23:14:25 +0000 Subject: [PATCH] fix: do not consider the call stale if it is not sent out yet --- src/calls.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/calls.rs b/src/calls.rs index d10464ad2..64ee7d779 100644 --- a/src/calls.rs +++ b/src/calls.rs @@ -69,7 +69,7 @@ impl CallInfo { /// Returns true if the call should not ring anymore. pub fn is_stale(&self) -> bool { - self.remaining_ring_seconds() <= 0 + (self.is_incoming() || self.msg.timestamp_sent != 0) && self.remaining_ring_seconds() <= 0 } fn remaining_ring_seconds(&self) -> i64 {