diff --git a/crates/voelin-gpui/src/shell/channels.rs b/crates/voelin-gpui/src/shell/channels.rs index 364cb25..d2a0811 100644 --- a/crates/voelin-gpui/src/shell/channels.rs +++ b/crates/voelin-gpui/src/shell/channels.rs @@ -153,9 +153,10 @@ fn empty_words(emptiness: Emptiness) -> &'static str { match emptiness { Emptiness::NoServer => "No server yet.", Emptiness::Loading => "Loading the channels…", - Emptiness::Connect => "Connect to see the channels.", - // The tree is not searched; a server with people has channels. - Emptiness::NoMatch => "No channels here.", + // The tree is not searched, so it is never `NoMatch` (the members + // panel's, `TreeModel::people_emptiness`): the model gives it + // `Emptiness::of`, which does not say it. + Emptiness::Connect | Emptiness::NoMatch => "Connect to see the channels.", } }