aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy/empathy-tp-chat.c
diff options
context:
space:
mode:
authorSjoerd Simons <sjoerd.simons@collabora.co.uk>2010-02-16 07:28:17 +0800
committerSjoerd Simons <sjoerd.simons@collabora.co.uk>2010-02-16 20:06:07 +0800
commit94539737998972571a33af133ae91b2769f7cd99 (patch)
treee9ac2c44128f0775de5d0f70c539c3295b750ec2 /libempathy/empathy-tp-chat.c
parent926bd94a134044ed2416537f02e55d7e4ef6cb1e (diff)
downloadgsoc2013-empathy-94539737998972571a33af133ae91b2769f7cd99.tar
gsoc2013-empathy-94539737998972571a33af133ae91b2769f7cd99.tar.gz
gsoc2013-empathy-94539737998972571a33af133ae91b2769f7cd99.tar.bz2
gsoc2013-empathy-94539737998972571a33af133ae91b2769f7cd99.tar.lz
gsoc2013-empathy-94539737998972571a33af133ae91b2769f7cd99.tar.xz
gsoc2013-empathy-94539737998972571a33af133ae91b2769f7cd99.tar.zst
gsoc2013-empathy-94539737998972571a33af133ae91b2769f7cd99.zip
add API to TpChat to ack all pending messages in one go
Diffstat (limited to 'libempathy/empathy-tp-chat.c')
-rw-r--r--libempathy/empathy-tp-chat.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/libempathy/empathy-tp-chat.c b/libempathy/empathy-tp-chat.c
index ea1c5ea62..65b4926c6 100644
--- a/libempathy/empathy-tp-chat.c
+++ b/libempathy/empathy-tp-chat.c
@@ -1713,6 +1713,13 @@ empathy_tp_chat_acknowledge_messages (EmpathyTpChat *chat,
g_slist_free (msgs);
}
+void
+empathy_tp_chat_acknowledge_all_messages (EmpathyTpChat *chat)
+{
+ empathy_tp_chat_acknowledge_messages (chat,
+ (GSList *) empathy_tp_chat_get_pending_messages (chat));
+}
+
gboolean
empathy_tp_chat_password_needed (EmpathyTpChat *self)
{