Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
_base_handlers in client should remain const
- the setup_stanza_handlers will be called twice, in client.connect and client.AuthenticatedEvent respectively. If we modify the _base_handlers in connect, our own handler is appened to the _base_handlers. Then in subsequent AuthenticatedEvent handler, our own handler will be appended again. Result in our own handler being registered twice.
- Loading branch information