* !empathy_chat_is_room (). */
GRegex *highlight_regex;
- /* TRUE if empathy_chat_is_room() and there are unread highlighted messages.
- * Cleared by empathy_chat_messages_read(). */
+ /* TRUE if empathy_chat_is_room () and there are unread highlighted messages.
+ * Cleared by empathy_chat_messages_read (). */
gboolean highlighted;
};
if (contact == NULL)
return NULL;
- individual = empathy_create_individual_from_tp_contact (contact);
+ individual = empathy_ensure_individual_from_tp_contact (contact);
+
if (individual == NULL)
return NULL;