]> git.0d.be Git - empathy.git/commitdiff
chat: call acknowledge_message on the chat view when it happens
authorJonny Lamb <jonnylamb@gnome.org>
Fri, 13 May 2011 14:15:13 +0000 (15:15 +0100)
committerJonny Lamb <jonnylamb@gnome.org>
Fri, 13 May 2011 14:25:15 +0000 (15:25 +0100)
Signed-off-by: Jonny Lamb <jonnylamb@gnome.org>
libempathy-gtk/empathy-chat.c

index 3a57c8138d95dea366fb90916b2b36cdbb2f726e..09bff03e392e28ffffa1c36c40019436eb9eb69e 100644 (file)
@@ -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");
 }