Hello,

On Wed, 2011-03-30 at 16:49 +0200, Daniel-Constantin Mierla wrote:
Hello,

On 3/29/11 4:10 PM, Peter Dunkley wrote:
Hello,

I think I may have found a bug in the RLS module.

Take two subscribers (alice and bob) who have each other in their contact lists.  Log them in (so REGISTER, SUBSCRIBE(presence.winfo), SUBSCRIBE(presence), PUBLISH, and so on).  Log one (bob) out.  bob's status remains online in alice's client.  Restart alice's client (logging her out and in again).  bob's status is still shown as online.

Has anyone encountered this before?
to understand properly, bob's presence document is deleted when he logged out, but alice still sees bob online after her client is logged out and then logged in?

When bob logs out alice still sees him as online.  This happens every time.

If alice then logs out and logs back in immediately she sees bob as still online.

If alice logs out, waits a while, and then logs back in she sees bob as offline.

I think:
- The issue I'm encountering stops alice getting the correct NOTIFY when bob goes offline and (possibly) stops the database being correctly updated.
- The database does get "fixed" eventually as presence states time-out.

Thanks,

Peter

-- 
Peter Dunkley
Technical Director
Crocodile RCS Ltd