mirror of
https://github.com/ergochat/ergo.git
synced 2025-12-19 17:50:09 -08:00
Make metadata cap values accurate
This commit is contained in:
parent
2eb2467de2
commit
e43882c995
1 changed files with 1 additions and 1 deletions
|
|
@ -836,7 +836,7 @@ func (server *Server) applyConfig(config *Config, initial bool) error {
|
|||
server.languages = lm
|
||||
|
||||
// Metadata
|
||||
CapValues.Set(caps.Metadata, "maxsub=10")
|
||||
CapValues.Set(caps.Metadata, fmt.Sprintf("maxkey=%d,maxsub=%d", server.MetadataKeysLimit(), server.MetadataSubsLimit()))
|
||||
|
||||
// SASL
|
||||
oldAccountConfig := server.AccountConfig()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue