Changeset 437 in code for trunk/user.go


Ignore:
Timestamp:
Dec 25, 2020, 12:35:20 PM (4 years ago)
Author:
hubert
Message:

Advertise all caps, CAP DEL them on registration

... so that the JOIN/history batch takes into account all capabilities.
Without this commit for example, enabling multi-prefix after the batch
makes the client send NAMES requests for all channels, which generate
needless traffic.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/user.go

    r435 r437  
    436436                                uc.updateAway()
    437437                        })
    438 
    439                         dc.updateSupportedCaps()
    440438                case eventDownstreamDisconnected:
    441439                        dc := e.dc
Note: See TracChangeset for help on using the changeset viewer.