The sample code helped. The key is to keep a session->actor map (or
> On Wed, Oct 13, 2010 at 3:48 AM, Oleg G. <
ojo...@gmail.com> wrote:
> > Hi all,
>
> > I'm trying to add a filter to a comet chat, i have different kind of
> > messages, everything else is based on the lift's comet chat example.
>
> You might try looking at the code that I wrote for the CUFP Lift tutorial...
> it gives you multiple chat rooms... while this isn't filtering, it'll give
> you an idea of how to do things differently on a per user basis.
>
> > So there are some checkboxes to exclude certain kind of messages, all
> > is working but currently i'm updating all listeners of the ChatServer
> > every time someone changes their filter. I've looked through API docs
> > and source code and couldn't figure out a good way to only send update
> > to one session.
>
> > Any hints?
>
> Personally, I'd do all the filtering in the CometActor rather than doing the
> filtering in the chat server. That way the logic is per user rather than
> global.
>
> Does this help?
>
>
>
> > --
> > You received this message because you are subscribed to the Google Groups
> > "Lift" group.
> > To post to this group, send email to
lif...@googlegroups.com.
> > To unsubscribe from this group, send email to