commit 049101c

Hubert Hirtz  ·  2021-12-06 11:56:47 +0000 UTC
parent 85482b9
Do not mark the buffer as unread on MODE
1 files changed,  +1, -1
M app.go
M app.go
+1, -1
1@@ -698,7 +698,7 @@ func (app *App) handleIRCEvent(netID string, ev interface{}) {
2 		app.win.SetTopic(netID, ev.Channel, topic)
3 	case irc.ModeChangeEvent:
4 		line := app.formatEvent(ev)
5-		app.win.AddLine(netID, ev.Channel, ui.NotifyUnread, line)
6+		app.win.AddLine(netID, ev.Channel, ui.NotifyNone, line)
7 	case irc.InviteEvent:
8 		var buffer string
9 		var notify ui.NotifyType