Keep users online if their chat window is focussed

Even if they haven't sent any messages, they will not be idle if their
window is in focus (on top)

Change-Id: Ic55956a0d1bf75b97ec25a0a6b04a990956b147c