[JDEV] Presence!
Hemendra Rana
hrana at orative.com
Thu Aug 28 14:42:09 CDT 2003
> > 1. My client probes for presence of users that it is subscribed to
> > every now and than. It needs to associate the response with the
request
> > that it sends to the server. I tried adding id attribute to
"presence"
> > tag, but the server did not include the ID in response. I understand
> > that this might be by design, but is there a way that I can make the
> > jabber server send the ID in the response of a presence probe?
>
> Can you please explain us why you want to query for these presences?
You
> automatically get them if they change. Isn't that far better?
I have this special requirement that the client cannot cache the
presence updates when they come automatically, as such, it needs to
query this presence whenever needed.
>
> > 2. I have a requirement that when the client disconnects, its
> > offline presence is not distributed to its subscribers. Is there a
way
> > to achieve this?
>
> You have to modify the server code for this. (Should be in
> mod_presence.c I think)
>
>
> Tot kijk
> Matthias
More information about the JDev
mailing list