forked from External/ergo
Detect cap-notify clients better (as recommended by cap spec)
This commit is contained in:
parent
c84ef97b90
commit
22ed6bb1f1
2 changed files with 17 additions and 1 deletions
|
|
@ -744,7 +744,7 @@ func (server *Server) applyConfig(config *Config, initial bool) (err error) {
|
|||
removedCaps.Union(updatedCaps)
|
||||
|
||||
if !addedCaps.Empty() || !removedCaps.Empty() {
|
||||
capBurstSessions = server.clients.AllWithCaps(caps.CapNotify)
|
||||
capBurstSessions = server.clients.AllWithCapsNotify()
|
||||
|
||||
added[caps.Cap301] = addedCaps.String(caps.Cap301, CapValues)
|
||||
added[caps.Cap302] = addedCaps.String(caps.Cap302, CapValues)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue