aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy/empathy-message.h
diff options
context:
space:
mode:
authorWill Thompson <will.thompson@collabora.co.uk>2009-08-31 08:15:41 +0800
committerWill Thompson <will.thompson@collabora.co.uk>2009-08-31 08:18:14 +0800
commitad59f77dfdba77af558ae2d278c92b0a7ab747d7 (patch)
tree7f219c54bdf97c7e206d155ec307e8068dd14246 /libempathy/empathy-message.h
parent2150f8ae4242fe2a26f29c96ddeb27ace1fe90fd (diff)
downloadgsoc2013-empathy-ad59f77dfdba77af558ae2d278c92b0a7ab747d7.tar
gsoc2013-empathy-ad59f77dfdba77af558ae2d278c92b0a7ab747d7.tar.gz
gsoc2013-empathy-ad59f77dfdba77af558ae2d278c92b0a7ab747d7.tar.bz2
gsoc2013-empathy-ad59f77dfdba77af558ae2d278c92b0a7ab747d7.tar.lz
gsoc2013-empathy-ad59f77dfdba77af558ae2d278c92b0a7ab747d7.tar.xz
gsoc2013-empathy-ad59f77dfdba77af558ae2d278c92b0a7ab747d7.tar.zst
gsoc2013-empathy-ad59f77dfdba77af558ae2d278c92b0a7ab747d7.zip
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.
Diffstat (limited to 'libempathy/empathy-message.h')
-rw-r--r--libempathy/empathy-message.h4
1 files changed, 4 insertions, 0 deletions
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);