I was working with ejabberd and configuring plugins. I came across a use case where I have a need to find the no. of offline messages per user.
I would like to check if there is any known source for XEP-0013 for ejabberd server.
I need to get the no. of offline messages for a user without actually fetching the offline messages.
Could anyone provide me any suggestions on how I can implement this?
What a coincidence!
What a coincidence! Yesterday, Zinid committed support for XEP-0013 to ejabberd master branch:
https://github.com/processone/ejabberd/commit/4839ba5ae46788757e581b3acc...
To use it, you need to download ejabberd from git, compile and install. Or wait until next ejabberd release (one or two months).