aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy-gtk
diff options
context:
space:
mode:
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2009-12-02 01:33:39 +0800
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2009-12-02 01:33:39 +0800
commitbf5f6a6ca78beb479a1e7c1f1e7a1f12cfdc1c16 (patch)
treed0f80eb3898f2f9dda8005eb547a749a698c873e /libempathy-gtk
parent3e6fc17bc72bb426af351e0cfc33abb775ada155 (diff)
downloadgsoc2013-empathy-bf5f6a6ca78beb479a1e7c1f1e7a1f12cfdc1c16.tar
gsoc2013-empathy-bf5f6a6ca78beb479a1e7c1f1e7a1f12cfdc1c16.tar.gz
gsoc2013-empathy-bf5f6a6ca78beb479a1e7c1f1e7a1f12cfdc1c16.tar.bz2
gsoc2013-empathy-bf5f6a6ca78beb479a1e7c1f1e7a1f12cfdc1c16.tar.lz
gsoc2013-empathy-bf5f6a6ca78beb479a1e7c1f1e7a1f12cfdc1c16.tar.xz
gsoc2013-empathy-bf5f6a6ca78beb479a1e7c1f1e7a1f12cfdc1c16.tar.zst
gsoc2013-empathy-bf5f6a6ca78beb479a1e7c1f1e7a1f12cfdc1c16.zip
chat: don't display latest logs in room
Diffstat (limited to 'libempathy-gtk')
-rw-r--r--libempathy-gtk/empathy-chat.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/libempathy-gtk/empathy-chat.c b/libempathy-gtk/empathy-chat.c
index 9d8b89c26..a20367266 100644
--- a/libempathy-gtk/empathy-chat.c
+++ b/libempathy-gtk/empathy-chat.c
@@ -2187,8 +2187,10 @@ static void
chat_constructed (GObject *object)
{
EmpathyChat *chat = EMPATHY_CHAT (object);
+ EmpathyChatPriv *priv = GET_PRIV (chat);
- chat_add_logs (chat);
+ if (priv->handle_type != TP_HANDLE_TYPE_ROOM)
+ chat_add_logs (chat);
show_pending_messages (chat);
}