Browse Source

fix #757

tags/v2.0.0-rc1
Shivaram Lingamneni 4 years ago
parent
commit
7d3c0f7884
3 changed files with 8 additions and 8 deletions
  1. 2
    2
      gencapdefs.py
  2. 1
    1
      irc/caps/constants.go
  3. 5
    5
      irc/caps/defs.go

+ 2
- 2
gencapdefs.py View File

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

+ 1
- 1
irc/caps/constants.go View File

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

+ 5
- 5
irc/caps/defs.go View File

@@ -41,10 +41,6 @@ const (
41 41
 	// https://github.com/ircv3/ircv3-specifications/pull/362
42 42
 	EventPlayback Capability = iota
43 43
 
44
-	// LabeledResponse is the draft IRCv3 capability named "draft/labeled-response-0.2":
45
-	// https://ircv3.net/specs/extensions/labeled-response.html
46
-	LabeledResponse Capability = iota
47
-
48 44
 	// Languages is the proposed IRCv3 capability named "draft/languages":
49 45
 	// https://gist.github.com/DanielOaks/8126122f74b26012a3de37db80e4e0c6
50 46
 	Languages Capability = iota
@@ -77,6 +73,10 @@ const (
77 73
 	// https://ircv3.net/specs/extensions/invite-notify-3.2.html
78 74
 	InviteNotify Capability = iota
79 75
 
76
+	// LabeledResponse is the IRCv3 capability named "labeled-response":
77
+	// https://ircv3.net/specs/extensions/labeled-response.html
78
+	LabeledResponse Capability = iota
79
+
80 80
 	// MessageTags is the IRCv3 capability named "message-tags":
81 81
 	// https://ircv3.net/specs/extensions/message-tags.html
82 82
 	MessageTags Capability = iota
@@ -128,7 +128,6 @@ var (
128 128
 		"cap-notify",
129 129
 		"chghost",
130 130
 		"draft/event-playback",
131
-		"draft/labeled-response-0.2",
132 131
 		"draft/languages",
133 132
 		"draft/multiline",
134 133
 		"draft/rename",
@@ -137,6 +136,7 @@ var (
137 136
 		"echo-message",
138 137
 		"extended-join",
139 138
 		"invite-notify",
139
+		"labeled-response",
140 140
 		"message-tags",
141 141
 		"multi-prefix",
142 142
 		"oragono.io/bnc",

Loading…
Cancel
Save