3
0
mirror of https://github.com/ergochat/ergo.git synced 2024-11-26 05:49:25 +01:00

Merge pull request #758 from slingamn/ratify_labeled_response

ratify labeled-response
This commit is contained in:
Shivaram Lingamneni 2020-01-28 08:29:14 -08:00 committed by GitHub
commit 537eb33dce
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 8 additions and 8 deletions

View File

@ -71,9 +71,9 @@ CAPDEFS = [
), ),
CapDef( CapDef(
identifier="LabeledResponse", identifier="LabeledResponse",
name="draft/labeled-response-0.2", name="labeled-response",
url="https://ircv3.net/specs/extensions/labeled-response.html", url="https://ircv3.net/specs/extensions/labeled-response.html",
standard="draft IRCv3", standard="IRCv3",
), ),
CapDef( CapDef(
identifier="Languages", identifier="Languages",

View File

@ -54,7 +54,7 @@ const (
const ( const (
// LabelTagName is the tag name used for the labeled-response spec. // LabelTagName is the tag name used for the labeled-response spec.
// https://ircv3.net/specs/extensions/labeled-response.html // https://ircv3.net/specs/extensions/labeled-response.html
LabelTagName = "draft/label" LabelTagName = "label"
// More draft names associated with draft/multiline: // More draft names associated with draft/multiline:
MultilineBatchType = "draft/multiline" MultilineBatchType = "draft/multiline"
MultilineConcatTag = "draft/multiline-concat" MultilineConcatTag = "draft/multiline-concat"

View File

@ -41,10 +41,6 @@ const (
// https://github.com/ircv3/ircv3-specifications/pull/362 // https://github.com/ircv3/ircv3-specifications/pull/362
EventPlayback Capability = iota EventPlayback Capability = iota
// LabeledResponse is the draft IRCv3 capability named "draft/labeled-response-0.2":
// https://ircv3.net/specs/extensions/labeled-response.html
LabeledResponse Capability = iota
// Languages is the proposed IRCv3 capability named "draft/languages": // Languages is the proposed IRCv3 capability named "draft/languages":
// https://gist.github.com/DanielOaks/8126122f74b26012a3de37db80e4e0c6 // https://gist.github.com/DanielOaks/8126122f74b26012a3de37db80e4e0c6
Languages Capability = iota Languages Capability = iota
@ -77,6 +73,10 @@ const (
// https://ircv3.net/specs/extensions/invite-notify-3.2.html // https://ircv3.net/specs/extensions/invite-notify-3.2.html
InviteNotify Capability = iota InviteNotify Capability = iota
// LabeledResponse is the IRCv3 capability named "labeled-response":
// https://ircv3.net/specs/extensions/labeled-response.html
LabeledResponse Capability = iota
// MessageTags is the IRCv3 capability named "message-tags": // MessageTags is the IRCv3 capability named "message-tags":
// https://ircv3.net/specs/extensions/message-tags.html // https://ircv3.net/specs/extensions/message-tags.html
MessageTags Capability = iota MessageTags Capability = iota
@ -128,7 +128,6 @@ var (
"cap-notify", "cap-notify",
"chghost", "chghost",
"draft/event-playback", "draft/event-playback",
"draft/labeled-response-0.2",
"draft/languages", "draft/languages",
"draft/multiline", "draft/multiline",
"draft/rename", "draft/rename",
@ -137,6 +136,7 @@ var (
"echo-message", "echo-message",
"extended-join", "extended-join",
"invite-notify", "invite-notify",
"labeled-response",
"message-tags", "message-tags",
"multi-prefix", "multi-prefix",
"oragono.io/bnc", "oragono.io/bnc",