ejabberd detect subscribe request for offline users

64 Views Asked by At

In ejabberd, I would like to intercept a subscribe request from one user to another, when the other user (to whom the request is being sent) is offline. Is there a specific hook I can use to catch this case? I just want to capture jid of of both )to/from) users and do something with it.

0

There are 0 best solutions below