Fire Event on every sent message when both the user online in one to one chat.

Hello,
I am using ejabberd 16.04 in Linux, I have different requierement for my app in which I want that when two users are available for chat when one user sent message to another user at that time I want that specific event should be trigger so based on that I can store details in my database.

See mod_log_chat, mod_logxml,

See mod_log_chat, mod_logxml, mod_message_log from https://github.com/processone/ejabberd-contrib

They implement things similar to what you want.

Syndicate content