implement draft/extended-isupport (#2184)

This commit is contained in:
Shivaram Lingamneni 2024-09-27 06:40:56 +02:00 committed by GitHub
parent f68d32b4ee
commit 7586520032
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
8 changed files with 57 additions and 10 deletions

View file

@ -64,10 +64,11 @@ const (
BotTagName = "bot"
// https://ircv3.net/specs/extensions/chathistory
ChathistoryTargetsBatchType = "draft/chathistory-targets"
ExtendedISupportBatchType = "draft/extended-isupport"
)
func init() {
nameToCapability = make(map[string]Capability)
nameToCapability = make(map[string]Capability, numCapabs)
for capab, name := range capabilityNames {
nameToCapability[name] = Capability(capab)
}