Prevent the conversation from being marked as read when window isn't focused
The conversation is not marked as read any more when the window is not focused. When the user focus again the window, the last message of the current room is marked as read.
Edited by Eisha Chen-yen-su