~emersion/soju-dev

Don't forward batch tags v1 APPLIED

Hubert Hirtz: 1
 Don't forward batch 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/16395/mbox | git am -3
Learn more about email & git
View this thread in the archives

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

We don't want to have the batch tag when calling uc.produce, otherwise
downstream will end up with junk batch ids.

---
 upstream.go | 1 +
 1 file changed, 1 insertion(+)

diff --git a/upstream.go b/upstream.go
index 5621086..6cf035d 100644
--- a/upstream.go
+++ b/upstream.go
@@ -373,6 +373,7 @@ func (uc *upstreamConn) handleMessage(msg *irc.Message) error {
		if label == "" {
			label = msgBatch.Label
		}
		delete(msg.Tags, "batch")
	}

	var downstreamID uint64 = 0
-- 
2.26.2
Pushed, thanks!