Keep the web tab the user reads, and show a kick in the Server tab (closes #195) #199

Merged
clawbot merged 1 commits from issue-195-web-tab-close into next 2026-10-27 05:52:49 +01:00
1 Commits
Author SHA1 Message Date
sneak 6263450be6 Keep the web tab the user reads, and show a kick in the Server tab (closes #195)
check / check (push) Waiting to run
removeChannelTab made the Server tab active whenever it closed a
channel's tab. When a part or kick came from another client, the user
lost the channel they were reading.

It now finds the tab the user was reading by its name among the
remaining tabs and keeps it active. Only when that was the closed tab
does the Server tab show.

When the kicked nick is the user's own, the kick line also goes into
the Server tab, which counts it as unread. That copy carries the
event's id with "-server" added, since addMessage drops an id it has
already seen.

Model: opus-5-5
2026-10-27 04:13:40 +00:00