[jdev] presence stanza processing with group chat

Peter Saint-Andre stpeter at jabber.org
Mon Jul 31 11:38:30 CDT 2006


Norman Rasmussen wrote:
> On 7/31/06, Tong <tongwangchen at gmail.com> wrote:
>>  <presence
>>  from='crone1 at shakespeare.lit/desktop'
>>  to='darkcave at macbeth.shakespeare.lit/firstwitch'>
>> </presence>
>>
>> should be assumed to come from a client that supports "group char
>> 1.0" and a default room should be created.
>>
>> My question is: how does the server/service tell whether this is a room
>> creation request, or a directed presence request as described in rfc3921
>> 5.1.4 or am I totally off?
> 
> - If macbeth.shakespeare.lit is an account server, then it's a
> directed presence.
> - If macbeth.shakespeare.lit is a conference server, then it's a room
> create/join request.

And the core XML router determines where to send the packet based on the
domain name.

Peter

-- 
Peter Saint-Andre
Jabber Software Foundation
http://www.jabber.org/people/stpeter.shtml

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 7358 bytes
Desc: S/MIME Cryptographic Signature
URL: <https://www.jabber.org/jdev/attachments/20060731/ee98710c/attachment-0002.bin>


More information about the JDev mailing list