aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy-gtk
diff options
context:
space:
mode:
authorJonny Lamb <jonnylamb@gnome.org>2011-05-13 22:12:54 +0800
committerJonny Lamb <jonnylamb@gnome.org>2011-05-13 22:25:15 +0800
commitc68050906fb6a3017ed9162fb14b4dcca78eba0a (patch)
tree1662319e42a63a06e2c85fcae6d2bdf8563b5061 /libempathy-gtk
parent3329e947496629d8275ad68791d73c49d9fc820f (diff)
downloadgsoc2013-empathy-c68050906fb6a3017ed9162fb14b4dcca78eba0a.tar
gsoc2013-empathy-c68050906fb6a3017ed9162fb14b4dcca78eba0a.tar.gz
gsoc2013-empathy-c68050906fb6a3017ed9162fb14b4dcca78eba0a.tar.bz2
gsoc2013-empathy-c68050906fb6a3017ed9162fb14b4dcca78eba0a.tar.lz
gsoc2013-empathy-c68050906fb6a3017ed9162fb14b4dcca78eba0a.tar.xz
gsoc2013-empathy-c68050906fb6a3017ed9162fb14b4dcca78eba0a.tar.zst
gsoc2013-empathy-c68050906fb6a3017ed9162fb14b4dcca78eba0a.zip
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 <jonnylamb@gnome.org>
Diffstat (limited to 'libempathy-gtk')
-rw-r--r--libempathy-gtk/empathy-chat.c4
1 files changed, 1 insertions, 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 */