aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy-gtk
diff options
context:
space:
mode:
authorJonny Lamb <jonnylamb@gnome.org>2011-05-13 22:15:13 +0800
committerJonny Lamb <jonnylamb@gnome.org>2011-05-13 22:25:15 +0800
commit5af3e568a7048f1de84d9c5372973aeee87aff60 (patch)
treef3061ece8584bf5830b1dc5337789a1ca0608a66 /libempathy-gtk
parentbd1d3bc265f617b0aa86bd80da28d64b50dcbbfb (diff)
downloadgsoc2013-empathy-5af3e568a7048f1de84d9c5372973aeee87aff60.tar
gsoc2013-empathy-5af3e568a7048f1de84d9c5372973aeee87aff60.tar.gz
gsoc2013-empathy-5af3e568a7048f1de84d9c5372973aeee87aff60.tar.bz2
gsoc2013-empathy-5af3e568a7048f1de84d9c5372973aeee87aff60.tar.lz
gsoc2013-empathy-5af3e568a7048f1de84d9c5372973aeee87aff60.tar.xz
gsoc2013-empathy-5af3e568a7048f1de84d9c5372973aeee87aff60.tar.zst
gsoc2013-empathy-5af3e568a7048f1de84d9c5372973aeee87aff60.zip
chat: call acknowledge_message on the chat view when it happens
Signed-off-by: Jonny Lamb <jonnylamb@gnome.org>
Diffstat (limited to 'libempathy-gtk')
-rw-r--r--libempathy-gtk/empathy-chat.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/libempathy-gtk/empathy-chat.c b/libempathy-gtk/empathy-chat.c
index 3a57c8138..09bff03e3 100644
--- a/libempathy-gtk/empathy-chat.c
+++ b/libempathy-gtk/empathy-chat.c
@@ -1298,6 +1298,9 @@ chat_pending_message_removed_cb (EmpathyTpChat *tp_chat,
{
EmpathyChatPriv *priv = GET_PRIV (chat);
+ empathy_chat_view_message_acknowledged (chat->view,
+ message);
+
priv->unread_messages--;
g_object_notify (G_OBJECT (chat), "nb-unread-messages");
}