[jdev] Presence delivery of roster items
Vinod Panicker
vinod.p at gmail.com
Thu Aug 11 00:36:32 CDT 2005
On 8/11/05, Trejkaz <trejkaz at trypticon.org> wrote:
> Quoting Vinod Panicker <vinod.p at gmail.com>:
>
> > On 8/10/05, Julien PUYDT <julien.puydt at laposte.net> wrote:
> >> Vinod Panicker a écrit :
> >> > When exactly is the user's server supposed to deliver presence
> >> > information of the contacts in the user's roster to the user when the
> >> > user is logging in? (assuming that the user is authorized+subscribed
> >> > to get the presence of the said contacts).
> >>
> >> Section 5.1 of RFC 3921 probably answers that question.
> >
> > Section 5.1 of RFC 3921 talks about presence subscriptions. I'm
> > basically asking abt "presence stanzas" - eg, when the user's server
> > gets presence information of a contact from the contact's server as a
> > result of a presence probe, when is the user's server expected to
> > deliver it to the user? Common sense states that it should deliver it
> > to the user as soon as it receives the stanza, but what abt presence
> > states of contacts that are connected to the same server? Will the
> > server deliver individual presence stanza's per contact to the user?
> > Will the server bunch them together and send them across? And when
> > exactly will the server send this? After initial presence? Before
> > initial presence?
>
> If you're talking solely about the presence "flood" you get on login,
> the server
> should send this immediately after the user becomes available by sending their
> presence. Basically, if the user hasn't declared their presence yet, they're
> not allowed to see the presence of other users either.
Yes, thats exactly what I'm talking about. But I dont see any mention
of "how" and "when" to do this in the RFC. Also, you mentioned that
the server "should" send it after receiving initial presence from the
user - not "must"? And what abt this restriction on not being able to
see contacts' presence before sending own initial presence?
Has there been any discussion about this? - GMane search not working :(
Should I take this up on the xmppwg list?
Regards,
Vinod.
More information about the JDev
mailing list