aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy-gtk
diff options
context:
space:
mode:
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);
}