initial implementation of draft/persistence

This commit is contained in:
Shivaram Lingamneni 2022-07-15 00:04:35 -04:00
parent fa3de3e149
commit 99d27ff737
6 changed files with 101 additions and 1 deletions

View file

@ -7,7 +7,7 @@ package caps
const (
// number of recognized capabilities:
numCapabs = 29
numCapabs = 30
// length of the uint64 array that represents the bitset:
bitsetLen = 1
)
@ -61,6 +61,10 @@ const (
// https://github.com/ircv3/ircv3-specifications/pull/398
Multiline Capability = iota
// Persistence is the proposed IRCv3 capability named "draft/persistence":
// https://gist.github.com/slingamn/e3645a0d0418b736b755746bfd65f2a6
Persistence Capability = iota
// ReadMarker is the draft IRCv3 capability named "draft/read-marker":
// https://github.com/ircv3/ircv3-specifications/pull/489
ReadMarker Capability = iota
@ -145,6 +149,7 @@ var (
"draft/event-playback",
"draft/languages",
"draft/multiline",
"draft/persistence",
"draft/read-marker",
"draft/relaymsg",
"echo-message",