mirror of
https://github.com/ergochat/ergo.git
synced 2024-11-21 11:29:31 +01:00
Make metadata cap values accurate
This commit is contained in:
parent
2eb2467de2
commit
e43882c995
@ -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…
Reference in New Issue
Block a user