mirror of
https://github.com/ergochat/ergo.git
synced 2025-12-20 02:00:11 -08:00
Send labeled-response=all to indicate we do it for all commands
This commit is contained in:
parent
c4c4ec027e
commit
5f9a66aaa2
1 changed files with 3 additions and 0 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue