diff --git a/downstream.go b/downstream.go index 5747276..f60dbc9 100644 --- a/downstream.go +++ b/downstream.go @@ -2430,7 +2430,7 @@ func (dc *downstreamConn) handleMessageRegistered(ctx context.Context, msg *irc. var bounds [2]time.Time bounds[0] = parseChatHistoryBound(boundsStr[0]) if subcommand == "LATEST" && boundsStr[0] == "*" { - bounds[0] = time.Now(); + bounds[0] = time.Now() } else if bounds[0].IsZero() { return ircError{&irc.Message{ Command: "FAIL", diff --git a/upstream.go b/upstream.go index 2f28412..c5f2059 100644 --- a/upstream.go +++ b/upstream.go @@ -22,6 +22,7 @@ import ( // permanentUpstreamCaps is the static list of upstream capabilities always // requested when supported. var permanentUpstreamCaps = map[string]bool{ + "account-notify": true, "account-tag": true, "away-notify": true, "batch": true,