Keep the connection state in the status bar on /query (closes #235) #244

Merged
clawbot merged 1 commits from issue-235-query-status into next 2026-11-02 07:10:08 +01:00
1 Commits
Author SHA1 Message Date
clawbot 024ffc4add Keep the connection state in the status bar on /query (closes #235)
check / check (push) Canceled after 0s
/query set the status bar to [connected] whatever the connection
state. Before /connect, it made the status bar say [connected] while
the client had no session.

/query now reads the connection state with the nick, as /window does,
and shows [connected] only while the client is connected,
[disconnected] otherwise. TestQueryConnectionState types /query bob,
connected and not, and checks the status bar. It names the two status
texts as constants, because the linter asks for one once a third copy
appears.

Model: opus-5-5
2026-11-02 05:50:26 +00:00