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

XEP-0158: Use the correct FORM_TYPE for extended IBR, and use a proper MUC join as an example #852

Closed
wants to merge 3 commits into from

Conversation

linkmauve
Copy link
Member

This was found while implementing IBR CAPTCHA in Renga at the Stockholm sprint.

@Ppjet6 Ppjet6 added Editorial Changes All changes in the PR are purely editorial. Ready To Merge No acknowledgements of other parties are needed anymore. There may be changes to do at merge time. labels Nov 7, 2019
@Ppjet6
Copy link
Contributor

Ppjet6 commented Nov 7, 2019

Merged as b107617. Thanks!

@Ppjet6 Ppjet6 closed this Nov 7, 2019
@linkmauve linkmauve deleted the xep-0158 branch November 7, 2019 15:24
@zinid
Copy link
Contributor

zinid commented Nov 25, 2019

Well, putting 'jabber:iq:register' there is also wrong, because CAPTCHA related fields are not registered in its form type: https://xmpp.org/extensions/xep-0077.html#registrar-formtypes

@linkmauve
Copy link
Member Author

linkmauve commented Nov 25, 2019

https://xmpp.org/extensions/xep-0158.xml#registrar-formtypes-register is the process to add new fields to an existing FORM_TYPE’s registrar, you should be looking at the registrar instead of the original XEP (which shouldn’t get modified every time an extension adds something to its form).

It was present before this change, so you already should have used it.

@zinid
Copy link
Contributor

zinid commented Nov 25, 2019

@linkmauve well I think this is just plain wrong of course.

@linkmauve
Copy link
Member Author

Well, according to XEP-0001 §14, it definitely is the registrar’s function to register form fields, and in this case they have done so already: https://xmpp.org/registrar/formtypes.html#jabber:iq:register

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Editorial Changes All changes in the PR are purely editorial. Ready To Merge No acknowledgements of other parties are needed anymore. There may be changes to do at merge time.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants