mirror of
https://github.com/ergochat/ergo.git
synced 2024-11-24 04:49:24 +01:00
Send labeled-response=all to indicate we do it for all commands
This commit is contained in:
parent
c4c4ec027e
commit
5f9a66aaa2
@ -860,6 +860,9 @@ func LoadConfig(filename string) (config *Config, err error) {
|
|||||||
config.Server.supportedCaps = caps.NewCompleteSet()
|
config.Server.supportedCaps = caps.NewCompleteSet()
|
||||||
config.Server.capValues = make(caps.Values)
|
config.Server.capValues = make(caps.Values)
|
||||||
|
|
||||||
|
// indicates that we send labeled responses for ALL commands
|
||||||
|
config.Server.capValues[caps.LabeledResponse] = "all"
|
||||||
|
|
||||||
err = config.prepareListeners()
|
err = config.prepareListeners()
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return nil, fmt.Errorf("failed to prepare listeners: %v", err)
|
return nil, fmt.Errorf("failed to prepare listeners: %v", err)
|
||||||
|
Loading…
Reference in New Issue
Block a user