[ejabberd] Setting privacy list with deny presence-out - still get presence from myself

Peter Saint-Andre stpeter at stpeter.im
Thu Oct 11 21:20:29 MSK 2012


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 10/11/12 10:28 AM, Daniel Dormont wrote:

> I have implemented invisibility in my application in accordance
> with XEP-0126. I'm seeing a strange result, in which after I send a
> presence as illustrated in Example 2, I get that same presence sent
> back to the same resource, which as far as I know should not
> happen, according to the privacy list.

The presence-out rule covers presence that is being sent to other
people. So-called self-presence (i.e., presence from your various
online resources) is not presence sent to other people, but presence
sent to yourself.

Peter

- -- 
Peter Saint-Andre
https://stpeter.im/


-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.0.18 (Darwin)
Comment: Using GnuPG with Mozilla - http://www.enigmail.net/

iEYEARECAAYFAlB2/90ACgkQNL8k5A2w/vwldQCgvG/7PWRckMhTPdQi7KDLNsEM
V2gAoLS5eoa/0nDVV4xtLlMA1NszZ9d6
=vQXP
-----END PGP SIGNATURE-----


More information about the ejabberd mailing list