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
1 changed files with 3 additions and 2 deletions

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'>
...