Long-living sessions in MUC

Hi, I want to implement a Whatsapp-like multi user chat. To do so, I need to fool ejabberd to never close the user session and therefore prevent the user from leaving the room any time he disconnects.

It would be easy to implement such functionality? My experience in Erlang is basic, but I thing I can handlke it. It would be nice if someone could give me a hint on where to start. I'm looking inside mod_muc.erl and mod_muc_room.erl but I didn't find anything yet.

Thanks in advance!

Syndicate content