]> git.0d.be Git - empathy.git/commitdiff
chat: don't toggle visibility of the chat view on marking messages read
authorJonny Lamb <jonnylamb@gnome.org>
Fri, 13 May 2011 14:12:54 +0000 (15:12 +0100)
committerJonny Lamb <jonnylamb@gnome.org>
Fri, 13 May 2011 14:25:15 +0000 (15:25 +0100)
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 <jonnylamb@gnome.org>
libempathy-gtk/empathy-chat.c

index 71e56203d2fd64c3ca290abf19949d687d338135..3a57c8138d95dea366fb90916b2b36cdbb2f726e 100644 (file)
@@ -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 */