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

make this local variable