halkeye at gmail.com
Tue Jun 2 03:33:40 UTC 2009
Does that really apply to presence. The client just sends a
<presence></presence> packet to the server. The server decides who to
send it to.
From: Alex Vandiver
Sent: 06/01/2009 6:33:56 PM
To: Gavin Mogan
Cc: Martin Atkins; DJabberd List
Subject: Re: Presence issues
On Mon, 2009-06-01 at 17:20 -0700, Gavin Mogan wrote:
> I think its interesting to point out that some code detects this and
> others doesn't.
> In my above example, client #2 eventually sees client #1 online when
> the next presence tag is sent to the server.
> And it works if client #2 comes on first, then client #1
> My psi (client #2) and my roster building code all are in lower case.
If clients apply nodeprep themselves, then they'll figure it out. If
they don't, they'll just silently drop the stanza. The RFC says the
SHOULD apply nodeprep, (while the server MUST) which means they're free
to assume it's already kosher if they choose. :/
More information about the Djabberd