Fix #2340 (change tab priority when the input is not empty)
Fix #2377 (send back unavailable presence on message from unknown room)
Fix #1998, #2439 (reset chat state status)