1
0
mirror of https://github.com/moparisthebest/xeps synced 2024-11-21 16:55:07 -05:00

XEP-0308: Correct disco#info example JIDs

This commit corrects the JIDs provided in the query/response examples for XEP-0308,
specifically: the request example did not provide a valid `to` attribute, and the response
example did not have matching JIDs for the `from` and `to` attributes.
This commit is contained in:
Alex Palaistras 2022-05-15 13:13:31 +01:00 committed by GitHub
parent bc39bea102
commit c7e4b6695c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -72,13 +72,14 @@
<example caption='Client requests information about a chat partner&apos;s client'><![CDATA[
<iq type='get'
from='romeo@montague.net/orchard'
to='juliet@capulet.net/balcony'
id='info1'>
<query xmlns='http://jabber.org/protocol/disco#info'/>
</iq>]]></example>
<example caption='Partner&apos;s client advertises support for correction'><![CDATA[
<iq type='get'
to='romeo@montague.net/home'
from='montague.net'
to='romeo@montague.net/orchard'
from='juliet@capulet.net/balcony'
id='info1'>
<query xmlns='http://jabber.org/protocol/disco#info'>
...