mirror of
https://github.com/ergochat/ergo.git
synced 2025-12-20 02:00:11 -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
|
server.languages = lm
|
||||||
|
|
||||||
// Metadata
|
// Metadata
|
||||||
CapValues.Set(caps.Metadata, "maxsub=10")
|
CapValues.Set(caps.Metadata, fmt.Sprintf("maxkey=%d,maxsub=%d", server.MetadataKeysLimit(), server.MetadataSubsLimit()))
|
||||||
|
|
||||||
// SASL
|
// SASL
|
||||||
oldAccountConfig := server.AccountConfig()
|
oldAccountConfig := server.AccountConfig()
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue