downstream: set empty CHANTYPES for bouncer connection

This commit is contained in:
Simon Ser 2023-01-16 16:46:46 +01:00
parent e71cdbf6e3
commit 59dfa05d13

View File

@ -1397,6 +1397,7 @@ func (dc *downstreamConn) welcome(ctx context.Context) error {
}
if dc.network == nil {
isupport = append(isupport, "WHOX")
isupport = append(isupport, "CHANTYPES=") // channels are not supported
}
if dc.caps.IsEnabled("soju.im/webpush") {
isupport = append(isupport, "VAPID="+dc.srv.webPush.VAPIDKeys.Public)