PubSub and offline_message_hook

Hi,

We are trying to implement persistent group chat using ejabberd (whatsapp like), the MUC route didn't work for us since we need to be able to send push notifications when a user is offline. Right now we are looking into the PubSub option (XEP-0060), so far it looks doable except for the fact that for some reason offline_message_hook is not called when a subscriber is offline, this was a actually one of the stoppers for using MUC. Is that the way it supposed to work? We basically need to be able to send a push notifications for offline users as a fallback. Any idea?

Thanks,
Adam

Syndicate content