~emersion/soju-dev

Fix CHATHISTORY target not being casemapped v1 APPLIED

Hubert Hirtz: 1
 Fix CHATHISTORY target not being casemapped

 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/21485/mbox | git am -3
Learn more about email & git
View this thread in the archives

[PATCH] Fix CHATHISTORY target not being casemapped Export this patch

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

diff --git a/downstream.go b/downstream.go
index cf9da70..1ccad42 100644
--- a/downstream.go
+++ b/downstream.go
@@ -1819,6 +1819,7 @@ func (dc *downstreamConn) handleMessageRegistered(msg *irc.Message) error {
		if err != nil {
			return err
		}
		entity = uc.network.casemap(entity)

		// TODO: support msgid criteria
		criteriaParts := strings.SplitN(criteria, "=", 2)
-- 
2.31.0
Pushed, thanks for the fix!