From 6cee99c8ad8fab6bdad45d4bc6b9c96909d671ed Mon Sep 17 00:00:00 2001 From: "chumyin0912@gmail.com" Date: Sat, 21 Feb 2026 05:15:43 +0000 Subject: [PATCH] fix(channel): keep nostr wiring compatible with channel collectors --- src/channels/mod.rs | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/channels/mod.rs b/src/channels/mod.rs index 3fb6d58c1..3a93cdcb2 100644 --- a/src/channels/mod.rs +++ b/src/channels/mod.rs @@ -26,8 +26,8 @@ pub mod linq; #[cfg(feature = "channel-matrix")] pub mod matrix; pub mod mattermost; -pub mod nostr; pub mod nextcloud_talk; +pub mod nostr; pub mod qq; pub mod signal; pub mod slack; @@ -52,8 +52,8 @@ pub use linq::LinqChannel; #[cfg(feature = "channel-matrix")] pub use matrix::MatrixChannel; pub use mattermost::MattermostChannel; -pub use nostr::NostrChannel; pub use nextcloud_talk::NextcloudTalkChannel; +pub use nostr::NostrChannel; pub use qq::QQChannel; pub use signal::SignalChannel; pub use slack::SlackChannel; @@ -2886,9 +2886,9 @@ pub async fn start_channels(config: Config) -> Result<()> { // Collect active channels from a shared builder to keep startup and doctor parity. let mut channels: Vec> = collect_configured_channels(&config, "runtime startup") - .into_iter() - .map(|configured| configured.channel) - .collect(); + .into_iter() + .map(|configured| configured.channel) + .collect(); if let Some(ref ns) = config.channels_config.nostr { channels.push(Arc::new(