Fixed isTyping not being removed

The isTypig flag would only be removed in the chatwindow wsa not in
front coz of an lazy mistake.