diff options
author | Sjoerd Simons <sjoerd.simons@collabora.co.uk> | 2010-02-16 20:06:44 +0800 |
---|---|---|
committer | Sjoerd Simons <sjoerd.simons@collabora.co.uk> | 2010-02-16 20:06:44 +0800 |
commit | 57f093617f28dea1a4d4ab948561579d3f623427 (patch) | |
tree | 28576bd3db56124d0afb618915d745161153fc60 /libempathy | |
parent | 4219fa9dd2a048563bd6684a0bfba08dd1629759 (diff) | |
parent | c4bd37aa901a9cd8c6cc716508416daa6ae58fbc (diff) | |
download | gsoc2013-empathy-57f093617f28dea1a4d4ab948561579d3f623427.tar gsoc2013-empathy-57f093617f28dea1a4d4ab948561579d3f623427.tar.gz gsoc2013-empathy-57f093617f28dea1a4d4ab948561579d3f623427.tar.bz2 gsoc2013-empathy-57f093617f28dea1a4d4ab948561579d3f623427.tar.lz gsoc2013-empathy-57f093617f28dea1a4d4ab948561579d3f623427.tar.xz gsoc2013-empathy-57f093617f28dea1a4d4ab948561579d3f623427.tar.zst gsoc2013-empathy-57f093617f28dea1a4d4ab948561579d3f623427.zip |
Merge branch 'ack-all'
Diffstat (limited to 'libempathy')
-rw-r--r-- | libempathy/empathy-tp-chat.c | 7 | ||||
-rw-r--r-- | libempathy/empathy-tp-chat.h | 1 |
2 files changed, 8 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) { diff --git a/libempathy/empathy-tp-chat.h b/libempathy/empathy-tp-chat.h index f281e1dc1..f0a4caa87 100644 --- a/libempathy/empathy-tp-chat.h +++ b/libempathy/empathy-tp-chat.h @@ -85,6 +85,7 @@ void empathy_tp_chat_acknowledge_message (EmpathyTpChat *chat, EmpathyMessage *message); void empathy_tp_chat_acknowledge_messages (EmpathyTpChat *chat, const GSList *messages); +void empathy_tp_chat_acknowledge_all_messages (EmpathyTpChat *chat); gboolean empathy_tp_chat_password_needed (EmpathyTpChat *chat); |