~emersion/soju

0f6bac30b894b4a562f72ccffdaa0411b6ac74f3 — Hubert Hirtz a month ago c8ccc64
Drop TAGMSG in detached channels

- Do not relay TAGMSG as notices,
- Do not reattach when a TAGMSG is received,
- Do not reset the detach timer when a TAGMSG is received.
1 files changed, 1 insertions(+), 1 deletions(-)

M upstream.go
M upstream.go => upstream.go +1 -1
@@ 389,7 389,7 @@ func (uc *upstreamConn) handleMessage(msg *irc.Message) error {
			}

			ch := uc.network.channels.Value(target)
			if ch != nil {
			if ch != nil && msg.Command != "TAGMSG" {
				if ch.Detached {
					uc.handleDetachedMessage(ch, msg)
				}