Typing notifications hang out too long

Not sure why – is other side not sending paused/active? We seem to sometimes send paused after already sending the message/active ourselves… is MUC throttling the paused stanza? Some other bug?

i am like 80% certain that the cause of most immortal typing notifications that i’ve been seeing is a race condition on setting typing members. I see the composing state followed by the active state happening < 100ms sometimes. when we display the “is typing” message our react set state call happens behind an async call to getMemberDetails. If this takes longer than the gap between the state messages it seems to me like that would cause exactly this.

eventually if the same user types again it should then get cleared. and I have seen this as well.

there very well could be other cases, but when I look at the debug logs in the console every one I’ve seen today has this pattern of composing/active coming in very close together

Resolved by:

It’s possible there are other cases of this happening, but since this shipped I haven’t seen any in my own client, so I am calling this resolved for now.