]> git.0d.be Git - empathy.git/blobdiff - src/empathy-chat-window.c
Recognize both handheld and phone clienttypes as mobile devices
[empathy.git] / src / empathy-chat-window.c
index 06d1b0cec09769c483946f6348636d7fd089df73..676c4ef23541f52d6857c22b8f3a5c6a9aff9f81 100644 (file)
@@ -986,9 +986,9 @@ chat_window_update_chat_tab_full (EmpathyChat *chat,
       const gchar * const *types;
 
       types = empathy_contact_get_client_types (remote_contact);
-      if (types != NULL && !tp_strdiff (types[0], "phone"))
+      if (empathy_client_types_contains_mobile_device ((GStrv) types))
         {
-          /* I'm on a phone ! */
+          /* I'm on a mobile device ! */
           gchar *tmp = name;
 
           name = g_strdup_printf ("☎ %s", name);