downstream: set empty CHANTYPES for bouncer connection
This commit is contained in:
parent
e71cdbf6e3
commit
59dfa05d13
@ -1397,6 +1397,7 @@ func (dc *downstreamConn) welcome(ctx context.Context) error {
|
|||||||
}
|
}
|
||||||
if dc.network == nil {
|
if dc.network == nil {
|
||||||
isupport = append(isupport, "WHOX")
|
isupport = append(isupport, "WHOX")
|
||||||
|
isupport = append(isupport, "CHANTYPES=") // channels are not supported
|
||||||
}
|
}
|
||||||
if dc.caps.IsEnabled("soju.im/webpush") {
|
if dc.caps.IsEnabled("soju.im/webpush") {
|
||||||
isupport = append(isupport, "VAPID="+dc.srv.webPush.VAPIDKeys.Public)
|
isupport = append(isupport, "VAPID="+dc.srv.webPush.VAPIDKeys.Public)
|
||||||
|
Loading…
Reference in New Issue
Block a user