diff options
author | Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> | 2009-12-02 01:33:39 +0800 |
---|---|---|
committer | Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> | 2009-12-02 01:33:39 +0800 |
commit | bf5f6a6ca78beb479a1e7c1f1e7a1f12cfdc1c16 (patch) | |
tree | d0f80eb3898f2f9dda8005eb547a749a698c873e | |
parent | 3e6fc17bc72bb426af351e0cfc33abb775ada155 (diff) | |
download | gsoc2013-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
-rw-r--r-- | libempathy-gtk/empathy-chat.c | 4 |
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); } |