Am 20.04.2009 um 14:04 schrieb Dave Cridland:
Lots of "rich presence" states persist even when the user is offline. The <status/> field, for instance, we can even set *when* we go offline, and lots of clients (include Gajim) can make use of this. If I go offline so I can, for example, play games, or because I've gone on holiday, I think that my contacts should get the backdated PEP event telling them so when I'm offline.
Makes sense.
And plenty of PEP items unrelated to online/offline state exist, too, so to limit PEP to only cases when the contacts are online is simply broken.So again, I'd say:1) The spec says that you get PEP events for ALL contacts, online or not.2) The spec doesn't say you get events for newly online contacts.3) Some client mistakenly rely on odd server behaviour, particular in the case of (2).
We remove the PEP event when a user signs off because it would be inconsistent to what you'd get when you sign in again. You wouldn't get the PEP events of offline users then. But as we cleared now that this is an ejabberd bug, I'm happy to change that once ejabberd is fixed.
4) (1) and (2) are not only what the specification says, but also the desired behaviour.
-- Jonathan
PGP.sig
Description: Signierter Teil der Nachricht
