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
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
14 changes: 11 additions & 3 deletions xep-0158.xml
Expand Up @@ -28,6 +28,12 @@
</schemaloc>
&ianpaterson;
&stpeter;
<revision>
<version>1.0.1</version>
<date>2019-11-07</date>
<initials>egp</initials>
<remark><p>Use the correct FORM_TYPE for extended IBR, and use a proper MUC join as an example.</p></remark>
</revision>
<revision>
<version>1.0</version>
<date>2008-09-03</date>
Expand Down Expand Up @@ -405,7 +411,7 @@
<query xmlns='jabber:iq:register'>
<x xmlns='jabber:x:data' type='form'>
<field type='hidden' var='FORM_TYPE'>
<value>urn:xmpp:captcha</value>
<value>jabber:iq:register</value>
</field>
<field type='hidden' var='challenge'><value>F3A6292C</value></field>
<field type='hidden' var='sid'><value>reg1</value></field>
Expand Down Expand Up @@ -442,7 +448,7 @@
<query xmlns='jabber:iq:register'>
<x xmlns='jabber:x:data' type='submit'>
<field var='FORM_TYPE'>
<value>urn:xmpp:captcha</value>
<value>jabber:iq:register</value>
</field>
<field var='challenge'><value>F3A6292C</value></field>
<field var='sid'><value>reg1</value></field>
Expand All @@ -460,7 +466,9 @@
<p>A service that hosts multi-user chat rooms in accordance with <cite>XEP-0045</cite> MAY challenge unknown entities that seek to join such rooms or that send messages in such rooms.</p>
<example caption='Sender Attempts to Join Chat Room'><![CDATA[
<presence from='robot@abuser.com/zombie'
to='friendly-chat@muc.victim.com/robot101'/>
to='friendly-chat@muc.victim.com/robot101'>
<x xmlns='http://jabber.org/protocol/muc'/>
</presence>
]]></example>
<example caption='Challenger Offers a Choice of Challenges to Sender'><![CDATA[
<message from='friendly-chat@muc.victim.com'
Expand Down