<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
  <META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
  <META NAME="GENERATOR" CONTENT="GtkHTML/3.32.2">
</HEAD>
<BODY TEXT="#000000" BGCOLOR="#ffffff">
Hello,<BR>
<BR>
On Wed, 2011-03-30 at 16:49 +0200, Daniel-Constantin Mierla wrote:<BR>
<BLOCKQUOTE TYPE=CITE>
    Hello,<BR>
    <BR>
    On 3/29/11 4:10 PM, Peter Dunkley wrote: <BR>
    <BLOCKQUOTE TYPE=CITE>
        Hello,<BR>
        <BR>
        I think I may have found a bug in the RLS module.<BR>
        <BR>
        Take two subscribers (alice and bob) who have each other in their contact lists.&nbsp; Log them in (so REGISTER, SUBSCRIBE(presence.winfo), SUBSCRIBE(presence), PUBLISH, and so on).&nbsp; Log one (bob) out.&nbsp; bob's status remains online in alice's client.&nbsp; Restart alice's client (logging her out and in again).&nbsp; bob's status is still shown as online.<BR>
        <BR>
        Has anyone encountered this before?<BR>
    </BLOCKQUOTE>
    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?<BR>
    <BR>
</BLOCKQUOTE>
When bob logs out alice still sees him as online.&nbsp; This happens every time.<BR>
<BR>
If alice then logs out and logs back in immediately she sees bob as still online.<BR>
<BR>
If alice logs out, waits a while, and then logs back in she sees bob as offline.<BR>
<BR>
I think:<BR>
- The issue I'm encountering stops alice getting the correct NOTIFY when bob goes offline and (possibly) stops the database being correctly updated.<BR>
- The database does get &quot;fixed&quot; eventually as presence states time-out.<BR>
<BR>
Thanks,<BR>
<BR>
Peter<BR>
<BR>
<TABLE CELLSPACING="0" CELLPADDING="0" WIDTH="100%">
<TR>
<TD>
<PRE>
-- 
Peter Dunkley
Technical Director
Crocodile RCS Ltd
</PRE>
</TD>
</TR>
</TABLE>
</BODY>
</HTML>