Skip to content
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

Genericize cap parsing and negotiation #79

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from
Draft

Genericize cap parsing and negotiation #79

wants to merge 1 commit into from

Conversation

emersonveenstra
Copy link

@emersonveenstra emersonveenstra commented Jul 28, 2021

Expand cap parsing to allow for caps with a value, and add an option to specify
more capabilities to negotiate with the server.

Fixes #78

I'm making this a WIP for now for a couple reasons:

  1. I need tests and I'm not sure the best way to go about those
  2. I removed Client.opt.sasl entirely to force things to adopt the new way of passing a Set of caps to Client. I could do a deprecation thing where the constructor adds opt.sasl to opt.capabilities, but since the only thing using this is matrix-appservice-irc I don't think there's a need to postpone the removal. However if that's something you want, I can add it in.

Expand cap parsing to allow for caps with a value, and add an option to specify
more capabilities to negotiate with the server.
@Half-Shot Half-Shot self-requested a review August 5, 2021 14:33
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.

Genericize capability parsing
1 participant