From 55ce28ebe490bc803dd524970ebb187402bb6031 Mon Sep 17 00:00:00 2001 From: Sjoerd Simons Date: Thu, 3 Jan 2013 11:42:13 +0100 Subject: Recognize both handheld and phone clienttypes as mobile devices Empathy currently displays a phone icon for clients which indicate that they're phones. However some mobile clients use the "handheld" client type instead (e.g. Xabber on android devices). While changing things around, i've also refactored the code a bit to ensure that the determination will stay consistent in the various location if it's changed in future. --- libempathy/empathy-utils.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'libempathy/empathy-utils.h') diff --git a/libempathy/empathy-utils.h b/libempathy/empathy-utils.h index a310d2b02..3950c5be3 100644 --- a/libempathy/empathy-utils.h +++ b/libempathy/empathy-utils.h @@ -115,6 +115,9 @@ void empathy_individual_can_audio_video_call (FolksIndividual *individual, gboolean *can_video_call, EmpathyContact **out_contact); +gboolean empathy_client_types_contains_mobile_device ( + const GStrv types); + FolksIndividual * empathy_create_individual_from_tp_contact ( TpContact *contact); -- cgit v1.2.3