summaryrefslogtreecommitdiff
path: root/app.go
diff options
context:
space:
mode:
authorHubert Hirtz <hubert@hirtz.pm>2021-11-05 08:39:34 +0100
committerHubert Hirtz <hubert@hirtz.pm>2021-11-05 08:39:47 +0100
commitbf2a5cb9226893275e5a0e8a3eade809c188e255 (patch)
tree04720412a27c7aee575c38f084881febe061acb0 /app.go
parentShow 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.go2
1 files changed, 0 insertions, 2 deletions
diff --git a/app.go b/app.go
index af56e07..8dca093 100644
--- a/app.go
+++ b/app.go
@@ -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: "--",