Catch all route

16 views
Skip to first unread message

set....@gmail.com

unread,
Jun 27, 2015, 1:09:07 PM6/27/15
to lit...@googlegroups.com
Is there a way to define a catch all route,
which will trigger only if no previous route responds?
Currently, if I define a catch all route in handler it always responds,
even with existing routes, like help or info.

I see there is https://github.com/Maysora/lita-exclusive-route
but it doesn't seem to work.
It behaves the same with or without it.

Lita version 4.4.3.

Alex Soto

unread,
Jun 29, 2015, 1:13:46 AM6/29/15
to lit...@googlegroups.com, set....@gmail.com
I think you need to implement an event handler and respond to :unhandled_message.

Nenad Petronijevic

unread,
Jun 29, 2015, 6:10:44 AM6/29/15
to lit...@googlegroups.com, Alex Soto
Yes, this does seem like something that should work.

Thanks.
Reply all
Reply to author
Forward
0 new messages