Chat States wrong
When we type a message and change the tab, we send an inactive event. This is ok, but a paused event would be better. However, when we come back to the tab, we sent an active event, which would mean we deleted our message. This is somewhat wrong.