1
0
mirror of https://github.com/moparisthebest/xeps synced 2024-08-13 16:53:48 -04: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[
<presence from='juliet@capulet.com/desktop' to='romeo@montague.net/home'>
<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 from='juliet@capulet.com/pda' to='romeo@montague.net/home'>
<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 from='juliet@capulet.com/mobile' to='romeo@montague.net/home'>
<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>
]]></example>
<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[
<presence from='juliet@capulet.com/mobile'>
<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/>
</rap>
</presence>