Function to check if the user is using hangouts or classic chat.