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
|
# no-implicit-names
|
||||||
|
|
||||||
This is a work-in-progress specification.
|
This specification has been superseded by the IRC `draft/no-implicit-names` extension.
|
||||||
|
|
||||||
## Description
|
## Description
|
||||||
|
|
||||||
|
@ -227,8 +227,9 @@ var permanentDownstreamCaps = map[string]string{
|
|||||||
"server-time": "",
|
"server-time": "",
|
||||||
"setname": "",
|
"setname": "",
|
||||||
|
|
||||||
"draft/pre-away": "",
|
"draft/pre-away": "",
|
||||||
"draft/read-marker": "",
|
"draft/read-marker": "",
|
||||||
|
"draft/no-implicit-names": "",
|
||||||
|
|
||||||
"soju.im/account-required": "",
|
"soju.im/account-required": "",
|
||||||
"soju.im/bouncer-networks": "",
|
"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)
|
sendNames(ctx, dc, ch)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user