I have installed and used mod_offline_http_post
module in 20.07 version and was able to get push notifications for individual users. But this module doesn't support MUC rooms. I wanted to get push notifications for users who have subscribed to a MUC room and is currently offline. I found that mod_offline_post
module does this. But I wasn't able to configure [mod_offline_post]
with ejabberd 20.07 version. For compiling and installing I have followed these instructions https://docs.ejabberd.im/developer/extending-ejabberd/modules/.
After doing this, when i try to configure mod_offline_post in ejabberd.yml it gives me an error mod_offline_post
is not a ejabberd module.
Well, that module is two years old, and is not up-to-date with ejabberd modules API requirements, so it isn't an ejabberd module.
I've updated its source code to compile correctly with newest ejabberd. I have not checked it actually works.
Those steps allow to download, fix and install the module:
Then put here a file called update.patch with this content:
And finally, apply the patch, and install the module: