[ejabberd] Long living sessions in mod_muc

Santiago Ignacio Poli santiago at etermax.com
Fri Feb 13 15:48:13 MSK 2015


I thought about that. The only problem I see with it is that the user will
disappear from the member list (but I think it wont be very difficult to
prevent that). If I use that approach, i'll need to deliver all the
messages the user missed upon login.

Thanks!

2015-02-12 19:12 GMT-03:00 Michael Weibel <michael.weibel at gmail.com>:

> What is the goal you are trying to achieve? Is it really that the user
> session is never closed?
> I’d rather think it’s more that whenever a user reconnects he has the same
> rooms still open, no?
>
> If that’s the case, there is the possibility to store in one way or
> another the list of rooms to join upon connection.
>
> > Am 11.02.2015 um 18:30 schrieb Santiago Ignacio Poli <
> santiago at etermax.com>:
> >
> > 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
> him 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 manage 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!
> >
> > --
> > Santiago Ignacio Poli
> > Java Developer @etermax
> >
> >
> > _______________________________________________
> > ejabberd mailing list
> > ejabberd at jabber.ru
> > http://lists.jabber.ru/mailman/listinfo/ejabberd
>
> _______________________________________________
> ejabberd mailing list
> ejabberd at jabber.ru
> http://lists.jabber.ru/mailman/listinfo/ejabberd
>



-- 
*Santiago Ignacio Poli*
*Java Developer **@etermax*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.jabber.ru/pipermail/ejabberd/attachments/20150213/52bb9542/attachment.html>


More information about the ejabberd mailing list