From ad59f77dfdba77af558ae2d278c92b0a7ab747d7 Mon Sep 17 00:00:00 2001 From: Will Thompson Date: Mon, 31 Aug 2009 01:15:41 +0100 Subject: Ack received messages from ourself. Sumana Harihareswara reported that she had started a conversation with herself, sent a message, and then tried to close the window, but whenever she did so it reappeared. This was because Empathy did not acknowledge "incoming" messages from the user themself; hence, when it Close()d the channel, Gabble respawned it, because it still had pending messages. --- libempathy/empathy-message.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'libempathy/empathy-message.h') diff --git a/libempathy/empathy-message.h b/libempathy/empathy-message.h index f9a488703..7ca624031 100644 --- a/libempathy/empathy-message.h +++ b/libempathy/empathy-message.h @@ -72,6 +72,10 @@ void empathy_message_set_timestamp (EmpathyMessage gboolean empathy_message_is_backlog (EmpathyMessage *message); void empathy_message_set_is_backlog (EmpathyMessage *message, gboolean is_backlog); +gboolean empathy_message_is_incoming (EmpathyMessage *message); +void empathy_message_set_incoming (EmpathyMessage *message, + gboolean incoming); + gboolean empathy_message_should_highlight (EmpathyMessage *message); TpChannelTextMessageType empathy_message_type_from_str (const gchar *type_str); const gchar * empathy_message_type_to_str (TpChannelTextMessageType type); -- cgit v1.2.3