1
0
Fork 0
forked from External/ergo

Initial RELAYMSG implementation

This commit is contained in:
Daniel Oaks 2020-06-08 10:19:28 +10:00
parent 2801018150
commit 4ee49f8450
9 changed files with 91 additions and 1 deletions

View file

@ -7,7 +7,7 @@ package caps
const (
// number of recognized capabilities:
numCapabs = 26
numCapabs = 27
// length of the uint64 array that represents the bitset:
bitsetLen = 1
)
@ -53,6 +53,10 @@ const (
// https://github.com/ircv3/ircv3-specifications/pull/398
Multiline Capability = iota
// Relaymsg is the proposed IRCv3 capability named "draft/relaymsg":
// https://github.com/ircv3/ircv3-specifications/pull/417
Relaymsg Capability = iota
// Rename is the proposed IRCv3 capability named "draft/rename":
// https://github.com/SaberUK/ircv3-specifications/blob/rename/extensions/rename.md
Rename Capability = iota
@ -131,6 +135,7 @@ var (
"draft/event-playback",
"draft/languages",
"draft/multiline",
"draft/relaymsg",
"draft/rename",
"draft/resume-0.5",
"echo-message",