mirror of
https://github.com/moparisthebest/xeps
synced 2024-12-22 07:38:52 -05:00
Fix some copypasta problems.
Items returned from a pubsub items request are encapsulated in an <items/> element, not <publish/>, which is used for publishing items. Example for requesting the secret key was labelled as requesting the public key.
This commit is contained in:
parent
be306113e1
commit
7e2b3c144d
10
xep-0373.xml
10
xep-0373.xml
@ -300,7 +300,7 @@ Standards Foundation.</permissions>
|
|||||||
type='result'
|
type='result'
|
||||||
id='getpub'>
|
id='getpub'>
|
||||||
<pubsub xmlns='http://jabber.org/protocol/pubsub'>
|
<pubsub xmlns='http://jabber.org/protocol/pubsub'>
|
||||||
<publish node='urn:xmpp:openpgp:0'>
|
<items node='urn:xmpp:openpgp:0'>
|
||||||
<item>
|
<item>
|
||||||
<pubkeys xmlns='urn:xmpp:openpgp:0'>
|
<pubkeys xmlns='urn:xmpp:openpgp:0'>
|
||||||
<pubkey>
|
<pubkey>
|
||||||
@ -308,7 +308,7 @@ Standards Foundation.</permissions>
|
|||||||
</pubkey>
|
</pubkey>
|
||||||
</pubkeys>
|
</pubkeys>
|
||||||
</item>
|
</item>
|
||||||
</publish>
|
</items>
|
||||||
</pubsub>
|
</pubsub>
|
||||||
</iq>]]></example>
|
</iq>]]></example>
|
||||||
|
|
||||||
@ -409,19 +409,19 @@ Standards Foundation.</permissions>
|
|||||||
</section3>
|
</section3>
|
||||||
<section3 topic='PEP Service Success Response'>
|
<section3 topic='PEP Service Success Response'>
|
||||||
|
|
||||||
<example caption='Personal Eventing Protocol result containing the requested public key.'><![CDATA[
|
<example caption='Personal Eventing Protocol result containing the requested secret key.'><![CDATA[
|
||||||
<iq from='juliet@example.org'
|
<iq from='juliet@example.org'
|
||||||
to='romeo@example.org/orchard'
|
to='romeo@example.org/orchard'
|
||||||
type='result'
|
type='result'
|
||||||
id='getsecret'>
|
id='getsecret'>
|
||||||
<pubsub xmlns='http://jabber.org/protocol/pubsub'>
|
<pubsub xmlns='http://jabber.org/protocol/pubsub'>
|
||||||
<publish node='urn:xmpp:openpgp:secret-key:0'>
|
<items node='urn:xmpp:openpgp:secret-key:0'>
|
||||||
<item>
|
<item>
|
||||||
<secretkey xmlns='urn:xmpp:openpgp:0'>
|
<secretkey xmlns='urn:xmpp:openpgp:0'>
|
||||||
BASE64_OPENPGP_ENCRYPTED_SECRET_KEY
|
BASE64_OPENPGP_ENCRYPTED_SECRET_KEY
|
||||||
</secretkey>
|
</secretkey>
|
||||||
</item>
|
</item>
|
||||||
</publish>
|
</items>
|
||||||
</pubsub>
|
</pubsub>
|
||||||
</iq>]]></example>
|
</iq>]]></example>
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user