]> git.0d.be Git - empathy.git/blobdiff - libempathy/empathy-contact.c
"ready & EMPATHY_CONTACT_READY_NAME" instead of ready | EMPATHY_CONTACT_READY_NAME
[empathy.git] / libempathy / empathy-contact.c
index ad7d0472eb4b799b2f5445fdeef5814c07b7cead..1c4f4d83ab779c583d8c2c9d3c7902b20fc08b02 100644 (file)
@@ -749,7 +749,7 @@ contact_is_ready_func (GObject  *contact,
   /* When the name is NULL, empathy_contact_get_name() fallback to the id.
    * When the caller want to wait the name to be ready, it also want to wait
    * the id to be ready in case of fallback. */
-  if ((ready | EMPATHY_CONTACT_READY_NAME) && G_STR_EMPTY (priv->name)) {
+  if ((ready & EMPATHY_CONTACT_READY_NAME) && G_STR_EMPTY (priv->name)) {
       ready |= EMPATHY_CONTACT_READY_ID;
     }