From 47f0dd5b3f18cd2e05b0442f78fe465deef78a3c Mon Sep 17 00:00:00 2001 From: Simon Ser Date: Thu, 2 Feb 2023 19:38:32 +0100 Subject: [PATCH] downstream: send MSGREFTYPES ISUPPORT References: https://github.com/ircv3/ircv3-specifications/pull/510 --- downstream.go | 1 + 1 file changed, 1 insertion(+) diff --git a/downstream.go b/downstream.go index 81263dc..7d8e132 100644 --- a/downstream.go +++ b/downstream.go @@ -1480,6 +1480,7 @@ func (dc *downstreamConn) welcome(ctx context.Context) error { } if _, ok := dc.user.msgStore.(msgstore.ChatHistoryStore); ok && dc.network != nil { isupport = append(isupport, fmt.Sprintf("CHATHISTORY=%v", chatHistoryLimit)) + isupport = append(isupport, "MSGREFTYPES=timestamp") } if dc.caps.IsEnabled("soju.im/webpush") { isupport = append(isupport, "VAPID="+dc.srv.webPush.VAPIDKeys.Public)