Just following up on this. Is the restriction to msg.body().empty() done on
purpose here?
-Rob
On Dec 10, 2009, at 7:47 PM, Rob Napier wrote:
> ChatStateFilter only calls handleChatState() if msg.body().empty():
>
> if( m_enableChatStates && msg.body().empty() )
> m_chatStateHandler->handleChatState( msg.from(), state->state() );
>
> While I can just set chat state back to Active any time a non-empty message
> comes in, this seems an unnecessary special case in the code. Why the
> msg.body().empty() test? Can this be removed?
>
> -Rob
> --
> gloox-dev mailing list
> to unsubscribe:
> send a message with subject 'unsubscribe gloox-dev' to minimalist@xxxxxxxxxx