Privacy Lists + Presence Notifications

Hi there,

Usually on other IM services, when you block someone they get a presence notification that you are offline, or when you unblock they get a notification that you are online (or whatever your status may be at the time).

From looking at the RFC, my understanding is that XMPP does something similar with privacy lists. I've been looking through mod_privacy, trying to figure out if (and where) it sends a presence notification to someone who has been blocked (similar to adding to a list) or removed (similar to removing from a list) like this behavior, but can't seem to identify it. It might not even be in this module. I thought maybe the "presence_update" or "presence_broadcast" functions of ejabberd_c2s might be in use, though they don't seem to be called. Any advice pointing me in the right direction would be very helpful!

Thanks.

That isn't implemented in

That isn't implemented in ejabberd yet. Here is the related ticket: Privacy list does not allow to immediatly become invisible

Gotcha

Ah alright, thanks man. I think I found what I was looking for with the "ejabberd_router:route" function anyhow.

Cheers!

Syndicate content