Re: ChatStateFilter Enabling
From: Jakob Schroeter <js@xxxxxxxxxx>
Date: Thu, 19 Jul 2007 17:09:31 +0200 (CEST)
On Thu Jul 19 2007, Rafi Rainshtein wrote:
> Hi Jakob,
>
>
>
> Why are you enabling and disabling ChatStateFilter according to incoming
> messages?
>
> Can't it just be set to update its state all the time?

I read the XEP such that each and every message exchanged SHOULD contain a 
chat state. If a message lacks a state, something's wrong and chat states get 
disabled because notifications should be bidirectional (e.g. if the first 
reply to a chat state-enabled message does not contain a chat state, 
subsequent chat states MUST NOT be sent).

cheers,
Jakob

Attachment: pgp1JLi6depGX.pgp
Description: PGP signature