As we're talking about it, what's purpose of active_watchers and watchers DB tables ?

Is that so that each time I subscribe to a user presence there is a new entry ? (it doesn't look to work that way).

-pascal


On Fri, Jan 23, 2009 at 1:23 PM, Iņaki Baz Castillo <ibc@aliax.net> wrote:
2009/1/23 Pascal Maugeri <pascal.maugeri@gmail.com>:
>> It's not possible at all, nothing to do.
>> Perhaps you are using pua_usrloc module? That's important.
>
> Hum, good point. Thanks I'm going to check that.

If you are using pua_usrloc, then when deregistering a user it
generates a callback so pua_usrloc creates a new PUBLISH with content
"offline" and sends it to the presence server. Well, not true,
pua_usrloc creates a PUBLISH with no body but "Expires: 0" so when it
arrives to the presence server, the *matching* presentity row is
deleted.

--
Iņaki Baz Castillo
<ibc@aliax.net>