3
0
mirror of https://github.com/ergochat/ergo.git synced 2024-11-15 00:19:29 +01:00

Merge pull request #2042 from slingamn/msgreftypes

publish MSGREFTYPES 005 token
This commit is contained in:
Shivaram Lingamneni 2023-02-04 21:49:27 -08:00 committed by GitHub
commit 12f7796933
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1605,6 +1605,7 @@ func (config *Config) generateISupport() (err error) {
isupport.Add("KICKLEN", strconv.Itoa(config.Limits.KickLen))
isupport.Add("MAXLIST", fmt.Sprintf("beI:%s", strconv.Itoa(config.Limits.ChanListModes)))
isupport.Add("MAXTARGETS", maxTargetsString)
isupport.Add("MSGREFTYPES", "msgid,timestamp")
isupport.Add("MODES", "")
isupport.Add("MONITOR", strconv.Itoa(config.Limits.MonitorEntries))
isupport.Add("NETWORK", config.Network.Name)