aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy-gtk/gossip-group-chat.c
diff options
context:
space:
mode:
authorXavier Claessens <xclaesse@gmail.com>2007-06-02 23:56:53 +0800
committerXavier Claessens <xclaesse@src.gnome.org>2007-06-02 23:56:53 +0800
commit9dde03a4b7e7398df502b05d18d1010b4ee88cab (patch)
tree8d45dac7656d61f2b9487a7567a4ede3227e3f4d /libempathy-gtk/gossip-group-chat.c
parente1110b246ff83d6add4bbf01c6ec8a8460070491 (diff)
downloadgsoc2013-empathy-9dde03a4b7e7398df502b05d18d1010b4ee88cab.tar
gsoc2013-empathy-9dde03a4b7e7398df502b05d18d1010b4ee88cab.tar.gz
gsoc2013-empathy-9dde03a4b7e7398df502b05d18d1010b4ee88cab.tar.bz2
gsoc2013-empathy-9dde03a4b7e7398df502b05d18d1010b4ee88cab.tar.lz
gsoc2013-empathy-9dde03a4b7e7398df502b05d18d1010b4ee88cab.tar.xz
gsoc2013-empathy-9dde03a4b7e7398df502b05d18d1010b4ee88cab.tar.zst
gsoc2013-empathy-9dde03a4b7e7398df502b05d18d1010b4ee88cab.zip
Log chats and display 10 last messages when opening a new chat.
2007-06-02 Xavier Claessens <xclaesse@gmail.com> * libempathy-gtk/gossip-group-chat.c: * libempathy-gtk/gossip-private-chat.c: * libempathy-gtk/gossip-chat.c: * libempathy/empathy-log-manager.c: * libempathy/empathy-log-manager.h: * libempathy/empathy-log-manager.xsl: * libempathy/Makefile.am: Log chats and display 10 last messages when opening a new chat. svn path=/trunk/; revision=114
Diffstat (limited to 'libempathy-gtk/gossip-group-chat.c')
-rw-r--r--libempathy-gtk/gossip-group-chat.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libempathy-gtk/gossip-group-chat.c b/libempathy-gtk/gossip-group-chat.c
index 493e07461..8e8aa1967 100644
--- a/libempathy-gtk/gossip-group-chat.c
+++ b/libempathy-gtk/gossip-group-chat.c
@@ -176,9 +176,9 @@ gossip_group_chat_new (McAccount *account,
priv = GET_PRIV (chat);
+ GOSSIP_CHAT (chat)->account = g_object_ref (account);
priv->tp_chat = empathy_tp_chatroom_new (account, tp_chan);
gossip_chat_set_tp_chat (GOSSIP_CHAT (chat), EMPATHY_TP_CHAT (priv->tp_chat));
- GOSSIP_CHAT (chat)->account = g_object_ref (account);
/* FIXME: Ask the user before accepting */
empathy_tp_chatroom_accept_invitation (priv->tp_chat);