mirror of
https://github.com/moparisthebest/xeps
synced 2024-11-21 08:45:04 -05:00
XEP-0357: Add missing type attribute to <x/> tag
According to XEP-0004, the type attribute is required for the <x/> element.
This commit is contained in:
parent
fda54563b6
commit
31e3069cd8
@ -29,6 +29,12 @@
|
||||
<email>lancestout@gmail.com</email>
|
||||
<jid>lance@lance.im</jid>
|
||||
</author>
|
||||
<revision>
|
||||
<version>0.2.1</version>
|
||||
<date>2016-02-16</date>
|
||||
<initials>XEP Editor (mam)</initials>
|
||||
<remark><p>Fix example to include 'type' attribute in accordance with XEP-0004 (Holger Weiß).</p></remark>
|
||||
</revision>
|
||||
<revision>
|
||||
<version>0.2</version>
|
||||
<date>2015-09-10</date>
|
||||
@ -279,7 +285,7 @@
|
||||
<example caption='Enabling Notifications, with provided publish options'><![CDATA[
|
||||
<iq type='set' id='x43'>
|
||||
<enable xmlns='urn:xmpp:push:0' jid='push-5.client.example' node='yxs32uqsflafdk3iuqo'>
|
||||
<x xmlns='jabber:x:data'>
|
||||
<x xmlns='jabber:x:data' type='submit'>
|
||||
<field var='FORM_TYPE'><value>http://jabber.org/protocol/pubsub#publish-options</value></field>
|
||||
<field var='secret'><value>eruio234vzxc2kla-91<value></field>
|
||||
</x>
|
||||
|
Loading…
Reference in New Issue
Block a user