Fixed wrong logic with mutiple chatrooms