1
0
mirror of https://github.com/moparisthebest/xeps synced 2024-11-28 04:02:20 -05:00
git-svn-id: file:///home/ksmith/gitmigration/svn/xmpp/trunk@1050 4b5297f7-1745-476d-ba37-a9c6900126ab
This commit is contained in:
Peter Saint-Andre 2007-07-11 21:58:31 +00:00
parent e9c8f3d59e
commit 749911a60f

View File

@ -119,17 +119,23 @@
<example caption='Contact receives presence from user'><![CDATA[ <example caption='Contact receives presence from user'><![CDATA[
<presence from='juliet@capulet.com/desktop' to='romeo@montague.net/home'> <presence from='juliet@capulet.com/desktop' to='romeo@montague.net/home'>
<priority>10</priority> <priority>10</priority>
<rap xmlns='http://www.xmpp.org/extensions/xep-0168.html#ns' ns='http://www.xmpp.org/extensions/xep-0167#ns' num='5'/> <rap xmlns='http://www.xmpp.org/extensions/xep-0168.html#ns'
ns='http://www.xmpp.org/extensions/xep-0167#ns'
num='5'/>
</presence> </presence>
<presence from='juliet@capulet.com/pda' to='romeo@montague.net/home'> <presence from='juliet@capulet.com/pda' to='romeo@montague.net/home'>
<priority>5</priority> <priority>5</priority>
<rap xmlns='http://www.xmpp.org/extensions/xep-0168.html#ns' ns='http://www.xmpp.org/extensions/xep-0167#ns' num='-1'/> <rap xmlns='http://www.xmpp.org/extensions/xep-0168.html#ns'
ns='http://www.xmpp.org/extensions/xep-0167#ns'
num='-1'/>
</presence> </presence>
<presence from='juliet@capulet.com/mobile' to='romeo@montague.net/home'> <presence from='juliet@capulet.com/mobile' to='romeo@montague.net/home'>
<priority>-1</priority> <priority>-1</priority>
<rap xmlns='http://www.xmpp.org/extensions/xep-0168.html#ns' ns='http://www.xmpp.org/extensions/xep-0167#ns' num='10'/> <rap xmlns='http://www.xmpp.org/extensions/xep-0168.html#ns'
ns='http://www.xmpp.org/extensions/xep-0167#ns'
num='10'/>
</presence> </presence>
]]></example> ]]></example>
<p>(Note: This protocol uses a 'num' attribute rather than a 'priority' attribute to reduce confusion with XMPP presence.)</p> <p>(Note: This protocol uses a 'num' attribute rather than a 'priority' attribute to reduce confusion with XMPP presence.)</p>
@ -145,7 +151,9 @@
<example caption='Primary resource flag'><![CDATA[ <example caption='Primary resource flag'><![CDATA[
<presence from='juliet@capulet.com/mobile'> <presence from='juliet@capulet.com/mobile'>
<priority>-1</priority> <priority>-1</priority>
<rap xmlns='http://www.xmpp.org/extensions/xep-0168.html#ns' ns='http://www.xmpp.org/extensions/xep-0167#ns' num='10'> <rap xmlns='http://www.xmpp.org/extensions/xep-0168.html#ns'
ns='http://www.xmpp.org/extensions/xep-0167#ns'
num='10'>
<primary/> <primary/>
</rap> </rap>
</presence> </presence>