diff options
author | Hubert Hirtz <hubert@hirtz.pm> | 2021-11-05 08:39:34 +0100 |
---|---|---|
committer | Hubert Hirtz <hubert@hirtz.pm> | 2021-11-05 08:39:47 +0100 |
commit | bf2a5cb9226893275e5a0e8a3eade809c188e255 (patch) | |
tree | 04720412a27c7aee575c38f084881febe061acb0 /app.go | |
parent | Show the current channel topic at the top of the timeline (diff) |
Revert "Show the current channel topic at the top of the timeline"
This reverts commit 96340f8c4d91f59f6e39767891f9bb52d7fad329 because of
a bug in timeline rendering.
Diffstat (limited to 'app.go')
-rw-r--r-- | app.go | 2 |
1 files changed, 0 insertions, 2 deletions
@@ -636,7 +636,6 @@ func (app *App) handleIRCEvent(netID string, ev interface{}) { app.win.JumpBufferIndex(i) } if ev.Topic != "" { - app.win.SetTopic(netID, ev.Channel, ev.Topic) app.printTopic(netID, ev.Channel) } @@ -696,7 +695,6 @@ func (app *App) handleIRCEvent(netID string, ev interface{}) { case irc.TopicChangeEvent: topic := ui.IRCString(ev.Topic).String() body := fmt.Sprintf("Topic changed to: %s", topic) - app.win.SetTopic(netID, ev.Channel, ev.Topic) app.win.AddLine(netID, ev.Channel, ui.NotifyUnread, ui.Line{ At: msg.TimeOrNow(), Head: "--", |