3
0
mirror of https://github.com/ergochat/ergo.git synced 2024-11-10 22:19:31 +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(
identifier="LabeledResponse",
name="draft/labeled-response-0.2",
name="labeled-response",
url="https://ircv3.net/specs/extensions/labeled-response.html",
standard="draft IRCv3",
standard="IRCv3",
),
CapDef(
identifier="Languages",

View File

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

View File

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