Skip to content Skip to sidebar Skip to footer

Erlang Module Mod_confirm_delivery Doesn't Works With Ejabberd 16.03

I'm developing an Android Chat app and i'm trying to run the Erlang module mod_confirm_delivery in order to receive all the messages sent when the user suddenly lose the internet c

Solution 1:

ejabberd has stream management option of the c2s listener. You should set option stream_management to true. . You have to also enable stream management from client side (android) after doing this you do not need to implement mod_confirm_delivery. . When the user suddenly lose the internet connection (but still appears online on the server) you can handle this problem by enable mod_ping module in ejabberd server. Reference ejabberd configuration Stream Management reference


Post a Comment for "Erlang Module Mod_confirm_delivery Doesn't Works With Ejabberd 16.03"