3
0
mirror of https://github.com/ergochat/ergo.git synced 2024-11-23 20:39:24 +01:00

Send labeled-response=all to indicate we do it for all commands

This commit is contained in:
Daniel Oaks 2020-06-15 20:44:48 +10:00
parent c4c4ec027e
commit 5f9a66aaa2

View File

@ -860,6 +860,9 @@ func LoadConfig(filename string) (config *Config, err error) {
config.Server.supportedCaps = caps.NewCompleteSet()
config.Server.capValues = make(caps.Values)
// indicates that we send labeled responses for ALL commands
config.Server.capValues[caps.LabeledResponse] = "all"
err = config.prepareListeners()
if err != nil {
return nil, fmt.Errorf("failed to prepare listeners: %v", err)