mirror of
https://github.com/ergochat/ergo.git
synced 2024-11-21 19:39:43 +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
|
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…
Reference in New Issue
Block a user