Don't forward label tags v1 APPLIED

Hubert Hirtz: 1
 Don't forward label tags

 1 files changed, 1 insertions(+), 0 deletions(-)
Export patchset (mbox)
How do I use this?

Copy & paste the following snippet into your terminal to import this patchset into git:

curl -s https://lists.sr.ht/~emersion/soju-dev/patches/22840/mbox | git am -3
Learn more about email & git
View this thread in the archives

[PATCH] Don't forward label tags Export this patch

We don't want to have the label tag when calling uc.produce, otherwise
downstream will end up with junk labels.
 upstream.go | 1 +
 1 file changed, 1 insertion(+)

diff --git a/upstream.go b/upstream.go
index 5454309..c476cdb 100644
--- a/upstream.go
+++ b/upstream.go
@@ -317,6 +317,7 @@ func (uc *upstreamConn) handleMessage(msg *irc.Message) error {
	var label string
	if l, ok := msg.GetTag("label"); ok {
		label = l
		delete(msg.Tags, "label")

	var msgBatch *batch
LGTM, thanks!

To git.sr.ht:~emersion/soju
   697bdd32ddd0..03288d16f1be  master -> master