mirror of
https://github.com/ergochat/ergo.git
synced 2025-12-20 02:00:11 -08:00
Draft implementation of draft/setname
This commit is contained in:
parent
d804dddda5
commit
53ed368701
6 changed files with 43 additions and 2 deletions
|
|
@ -7,7 +7,7 @@ package caps
|
|||
|
||||
const (
|
||||
// number of recognized capabilities:
|
||||
numCapabs = 20
|
||||
numCapabs = 21
|
||||
// length of the uint64 array that represents the bitset:
|
||||
bitsetLen = 1
|
||||
)
|
||||
|
|
@ -85,6 +85,10 @@ const (
|
|||
// https://ircv3.net/specs/extensions/server-time-3.2.html
|
||||
ServerTime Capability = iota
|
||||
|
||||
// SetName is the proposed IRCv3 capability named "draft/setname":
|
||||
// https://github.com/ircv3/ircv3-specifications/pull/361
|
||||
SetName Capability = iota
|
||||
|
||||
// STS is the IRCv3 capability named "sts":
|
||||
// https://ircv3.net/specs/extensions/sts.html
|
||||
STS Capability = iota
|
||||
|
|
@ -115,6 +119,7 @@ var (
|
|||
"draft/resume-0.3",
|
||||
"sasl",
|
||||
"server-time",
|
||||
"draft/setname",
|
||||
"sts",
|
||||
"userhost-in-names",
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue