From 5af3e568a7048f1de84d9c5372973aeee87aff60 Mon Sep 17 00:00:00 2001 From: Jonny Lamb Date: Fri, 13 May 2011 15:15:13 +0100 Subject: chat: call acknowledge_message on the chat view when it happens Signed-off-by: Jonny Lamb --- libempathy-gtk/empathy-chat.c | 3 +++ 1 file changed, 3 insertions(+) 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"); } -- cgit v1.2.3