From c68050906fb6a3017ed9162fb14b4dcca78eba0a Mon Sep 17 00:00:00 2001 From: Jonny Lamb Date: Fri, 13 May 2011 15:12:54 +0100 Subject: chat: don't toggle visibility of the chat view on marking messages read It doesn't make sense, and it's a lie. It will also break showing unread message markers in the adium chat view. Signed-off-by: Jonny Lamb --- libempathy-gtk/empathy-chat.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/libempathy-gtk/empathy-chat.c b/libempathy-gtk/empathy-chat.c index 71e56203d..3a57c8138 100644 --- a/libempathy-gtk/empathy-chat.c +++ b/libempathy-gtk/empathy-chat.c @@ -3905,11 +3905,9 @@ empathy_chat_messages_read (EmpathyChat *self) if (priv->retrieving_backlogs) return; - if (priv->tp_chat != NULL ) { + if (priv->tp_chat != NULL) { empathy_tp_chat_acknowledge_all_messages (priv->tp_chat); } - - empathy_chat_view_focus_toggled (self->view, TRUE); } /* Return TRUE if on of the contacts in this chat is composing */ -- cgit v1.2.3