aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy/empathy-contact.c
diff options
context:
space:
mode:
Diffstat (limited to 'libempathy/empathy-contact.c')
-rw-r--r--libempathy/empathy-contact.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libempathy/empathy-contact.c b/libempathy/empathy-contact.c
index e511144bf..48e045425 100644
--- a/libempathy/empathy-contact.c
+++ b/libempathy/empathy-contact.c
@@ -370,7 +370,6 @@ empathy_contact_set_id (EmpathyContact *contact,
/* We temporally ref the contact because it could be destroyed
* during the signal emition */
g_object_ref (contact);
- contact_set_ready_flag (contact, EMPATHY_CONTACT_READY_ID);
if (tp_strdiff (id, priv->id)) {
g_free (priv->id);
priv->id = g_strdup (id);
@@ -380,6 +379,7 @@ empathy_contact_set_id (EmpathyContact *contact,
g_object_notify (G_OBJECT (contact), "name");
}
}
+ contact_set_ready_flag (contact, EMPATHY_CONTACT_READY_ID);
g_object_unref (contact);
}