~taiite/senpai

d0cd9d574d75278f65fa6a965c6b005e2333aa0d — Hubert Hirtz 2 months ago b2666f8
Remove IRC formatting when printing the topic
1 files changed, 2 insertions(+), 1 deletions(-)

M app.go
M app.go => app.go +2 -1
@@ 641,7 641,8 @@ func (app *App) handleIRCEvent(ev interface{}) {
		body.Grow(len(ev.Topic) + 18)
		body.SetStyle(tcell.StyleDefault.Foreground(tcell.ColorGray))
		body.WriteString("Topic changed to: ")
		body.WriteString(ev.Topic)
		topic := ui.IRCString(ev.Topic)
		body.WriteString(topic.String())
		app.win.AddLine(ev.Channel, ui.NotifyUnread, ui.Line{
			At:        msg.TimeOrNow(),
			Head:      "--",