From d4b7bb02da1c806095368a835c72d3cd076a6ad3 Mon Sep 17 00:00:00 2001 From: Hubert Hirtz Date: Sat, 9 Oct 2021 12:46:01 +0200 Subject: [PATCH] Send back TAGMSGs to self --- downstream.go | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/downstream.go b/downstream.go index c4f779f..11c614a 100644 --- a/downstream.go +++ b/downstream.go @@ -2048,6 +2048,16 @@ func (dc *downstreamConn) handleMessageRegistered(msg *irc.Message) error { tags := copyClientTags(msg.Tags) for _, name := range strings.Split(targetsStr, ",") { + if dc.network == nil && casemapASCII(name) == dc.nickCM { + dc.SendMessage(&irc.Message{ + Tags: msg.Tags.Copy(), + Prefix: dc.prefix(), + Command: "TAGMSG", + Params: []string{name}, + }) + continue + } + if casemapASCII(name) == serviceNickCM { continue }