From 9c6aa6960254c3b4942bc3763520a758d6a7198e Mon Sep 17 00:00:00 2001 From: ProofOfConcept Date: Fri, 3 Apr 2026 20:43:15 -0400 Subject: [PATCH] fix telegram showing as disconnected when no channels yet --- src/thalamus/channels.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/thalamus/channels.rs b/src/thalamus/channels.rs index 45594ec..09b1d4f 100644 --- a/src/thalamus/channels.rs +++ b/src/thalamus/channels.rs @@ -389,7 +389,8 @@ async fn fetch_all_channels_inner() -> Vec<(String, bool, u32)> { let sock = channels_dir.join(format!("{}.sock", daemon_name)); let channels = query_one_daemon(&sock).await; if channels.is_empty() { - result.push((daemon_name, false, 0)); + // Daemon is running but has no channels yet (e.g. telegram with no messages) + result.push((daemon_name, true, 0)); } else { result.extend(channels); }