[empathy] chat: don't display latest logs in room
- From: Guillaume Desmottes <gdesmott src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [empathy] chat: don't display latest logs in room
- Date: Tue, 1 Dec 2009 17:35:12 +0000 (UTC)
commit bf5f6a6ca78beb479a1e7c1f1e7a1f12cfdc1c16
Author: Guillaume Desmottes <guillaume desmottes collabora co uk>
Date: Tue Dec 1 17:33:39 2009 +0000
chat: don't display latest logs in room
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 9d8b89c..a203672 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);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]