summaryrefslogtreecommitdiff
path: root/client/channel_window.go
diff options
context:
space:
mode:
authorcitrons <citrons@mondecitronne.com>2025-06-04 12:12:13 -0500
committercitrons <citrons@mondecitronne.com>2025-06-07 16:02:18 -0500
commitb0fd9a1c7848343ef378b772eb76a0e99747260c (patch)
tree05093ccc0bda8ba4f1286b738ab67a6b1bccfd61 /client/channel_window.go
parent035344054768562bee7db12e02e3bec1c8409210 (diff)
channel list
Diffstat (limited to 'client/channel_window.go')
-rw-r--r--client/channel_window.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/client/channel_window.go b/client/channel_window.go
index 6ec9ea0..b3788da 100644
--- a/client/channel_window.go
+++ b/client/channel_window.go
@@ -111,6 +111,7 @@ func (cw *channelWindow) leaveChannel() {
globalApp.Request(proto.NewCmd("leave", cw.location.id), nil)
globalApp.windowCache.Evict(cw.location)
globalApp.removeFromHistory(cw.location)
+ globalApp.channelList.remove(cw.location)
}
func (cw *channelWindow) renameChannel(newName string) {