summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorSimon McVittie <simon.mcvittie@collabora.co.uk>2007-10-17 16:09:38 +0000
committerSimon McVittie <simon.mcvittie@collabora.co.uk>2007-10-17 16:09:38 +0000
commit86450d53ae2829e96c283831fd89f43f66a5262c (patch)
tree5a229d89b6fbfb0d66a99eb9ef2ca19ca168447a /docs
parent9ed57be3b60c34ce1142c9e043c23d07786989ba (diff)
Document existing practice for Salut: re-inviting works by sending an updated invitation, rather than using a pseudo-invitation
Diffstat (limited to 'docs')
-rw-r--r--docs/olpc.xml32
1 files changed, 19 insertions, 13 deletions
diff --git a/docs/olpc.xml b/docs/olpc.xml
index e376b768a..f23d9fcd7 100644
--- a/docs/olpc.xml
+++ b/docs/olpc.xml
@@ -581,19 +581,25 @@
<example caption='Updating a buddy on activity properties (link-local)'>
<![CDATA[
<!-- Sent over unicast TCP connection between xo-12-34-56.local.
- and xo-33-33-33.local. -->
- <message
- from='11111@xo-12-34-56'
- to='33333@xo-33-33-33'>
- <properties xmlns='http://laptop.org/xmpp/activity-properties'
- activity='aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa'
- room='aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa'>
- <property type='str' name='type'>org.laptop.Connect</property>
- <property type='str' name='name'>this name changed</property>
- <property type='str' name='tags'/>
- <property type='str' name='color'>#0d1c38,#49bce4</property>
- <property type='bool' name='private'>1</property>
- </properties>
+ and xo-33-33-33.local. We just re-send the invitation. -->
+
+ <message from='11111@xo-12-34-56' to='33333@xo-33-33-33'>
+ <x xmlns='http://collabora.co.uk/protocol/llmuc'>
+ <invite protocol='rmulticast'>
+ <roomname>aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa</roomname>
+ <address>224.0.0.1</address>
+ <port>23453</port>
+ <properties xmlns='http://laptop.org/xmpp/activity-properties'
+ activity='aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa'
+ room='aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa'>
+ <property type='str' name='type'>org.laptop.Connect</property>
+ <property type='str' name='name'>The name changed</property>
+ <property type='str' name='tags'/>
+ <property type='str' name='color'>#0d1c38,#49bce4</property>
+ <property type='bool' name='private'>1</property>
+ </properties>
+ </invite>
+ </x>
</message>
]]>
</example>