Skip to content

Fix when 'registered' is emitted #75

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jul 27, 2021
Merged

Fix when 'registered' is emitted #75

merged 2 commits into from
Jul 27, 2021

Conversation

emersonveenstra
Copy link

Don't emit registered on SASL replies, because the nick may not be
correct. Also always emit registered on RPL_WELCOME, because that
will only be sent after CAP END anyways. Fixes #74.

Signed off by Emerson Veenstra [email protected]

Copy link

@Half-Shot Half-Shot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This seems way saner, could I get changelog file (as we just mandated having those like we do for matrix-appservice-irc to keep track of changes).

Don't emit registered on SASL replies, because the nick may not be
correct. Also always emit registered on RPL_WELCOME, because that
will only be sent after CAP END anyways. Fixes #74.

Signed off by Emerson Veenstra <[email protected]>
@emersonveenstra
Copy link
Author

This seems way saner, could I get changelog file (as we just mandated having those like we do for matrix-appservice-irc to keep track of changes).

Added it

@Half-Shot Half-Shot merged commit 593d4b2 into matrix-org:master Jul 27, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Possible race condition with truncated nicks
2 participants