diff options
author | Hubert Hirtz <hubert@hirtzfr.eu> | 2020-08-21 11:37:16 +0200 |
---|---|---|
committer | Hubert Hirtz <hubert@hirtzfr.eu> | 2020-08-21 18:32:59 +0200 |
commit | a03765596e02e96979b1dffbd87ff6f40eeed2cc (patch) | |
tree | af2d52bfbbd25258155c63dbceec8e11963753c6 /app.go | |
parent | editor: Fix panic when pressing delete on empty input (diff) |
Fetch history on join
Diffstat (limited to 'app.go')
-rw-r--r-- | app.go | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -119,6 +119,7 @@ func (app *App) handleIRCEvent(ev irc.Event) { app.win.AddLine(ui.Home, ui.NewLine(ev.Time, "--", line, true, false)) case irc.SelfJoinEvent: app.win.AddBuffer(ev.Channel) + app.s.RequestHistory(ev.Channel, time.Now()) case irc.UserJoinEvent: line := fmt.Sprintf("\x033+\x0314%s\x03", ev.Nick) app.win.AddLine(ev.Channel, ui.NewLine(ev.Time, "--", line, true, false)) |