Add support for draft/no-implicit-names
Same as the soju extension.
This commit is contained in:
parent
47346b0f10
commit
67f7d9aa3f
@ -1,6 +1,6 @@
|
||||
# no-implicit-names
|
||||
|
||||
This is a work-in-progress specification.
|
||||
This specification has been superseded by the IRC `draft/no-implicit-names` extension.
|
||||
|
||||
## Description
|
||||
|
||||
|
@ -229,6 +229,7 @@ var permanentDownstreamCaps = map[string]string{
|
||||
|
||||
"draft/pre-away": "",
|
||||
"draft/read-marker": "",
|
||||
"draft/no-implicit-names": "",
|
||||
|
||||
"soju.im/account-required": "",
|
||||
"soju.im/bouncer-networks": "",
|
||||
@ -3423,7 +3424,7 @@ func forwardChannel(ctx context.Context, dc *downstreamConn, ch *upstreamChannel
|
||||
}
|
||||
}
|
||||
|
||||
if !dc.caps.IsEnabled("soju.im/no-implicit-names") {
|
||||
if !dc.caps.IsEnabled("soju.im/no-implicit-names") && !dc.caps.IsEnabled("draft/no-implicit-names") {
|
||||
sendNames(ctx, dc, ch)
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user