aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy
diff options
context:
space:
mode:
Diffstat (limited to 'libempathy')
-rw-r--r--libempathy/empathy-utils.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libempathy/empathy-utils.c b/libempathy/empathy-utils.c
index cf64bc77d..4b5738b7a 100644
--- a/libempathy/empathy-utils.c
+++ b/libempathy/empathy-utils.c
@@ -410,11 +410,11 @@ empathy_account_get_error_message (TpAccount *account,
if (message != NULL)
return message;
+ tp_account_get_connection_status (account, &reason);
+
DEBUG ("Don't understand error '%s'; fallback to the status reason (%u)",
dbus_error, reason);
- tp_account_get_connection_status (account, &reason);
-
return empathy_status_reason_get_default_message (reason);
}