[JDEV] Presence subscription

Richard Dobson richard at dobson-i.net
Fri Jul 26 08:36:45 CDT 2002


As already mentioned for you to be able to receive packets like presence
subscription packets as soon as they are sent you must be online, not just
logged in, the process needs to be done like this.

Connect to server
Authenticate
Request roster
Send online presence

It sounds like you are not doing the send online presence stage, this might
also be why you are not getting offline messages as going online is what
triggers delivery to the client.

----- Original Message -----
From: <emma.willis at ntlworld.com>
To: <jdev at jabber.org>
Sent: Friday, July 26, 2002 2:06 PM
Subject: [JDEV] Presence subscription


> Dear all... I just thought that as some form of closure I should put the
answer to the question I asked the other day about presence packets (you
never know, it may help someone in the future).
>
> I was having problems receiving presence subscriptions.... The problem
here was that I was testing my client on a windows server and the minute I
tested it on my linux implementation server, the presence packets came
through just fine!!!!
>
> I just want to confirm - is it correct that these presence subscriptions
are only delivered to the recipient if they log out and then in again??? Or
do I have to reload the roster in order to receive them?  Is that what
triggers it??
>
> anyway - hope this helps someone.
>
> Emma
>
> _______________________________________________
> jdev mailing list
> jdev at jabber.org
> http://mailman.jabber.org/listinfo/jdev
>
>





More information about the JDev mailing list