aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy
diff options
context:
space:
mode:
authorJonas Bonn <jonas@southpole.se>2010-03-08 17:30:02 +0800
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2010-03-09 16:39:59 +0800
commit383e6e321139a49a17be2bb3025e0568957e48fb (patch)
treeee2a393e34ba9ce5685ca1d11dbd922b27b1334c /libempathy
parent656d02dd23d1b41cf1924ec3e5ae48c82b570851 (diff)
downloadgsoc2013-empathy-383e6e321139a49a17be2bb3025e0568957e48fb.tar
gsoc2013-empathy-383e6e321139a49a17be2bb3025e0568957e48fb.tar.gz
gsoc2013-empathy-383e6e321139a49a17be2bb3025e0568957e48fb.tar.bz2
gsoc2013-empathy-383e6e321139a49a17be2bb3025e0568957e48fb.tar.lz
gsoc2013-empathy-383e6e321139a49a17be2bb3025e0568957e48fb.tar.xz
gsoc2013-empathy-383e6e321139a49a17be2bb3025e0568957e48fb.tar.zst
gsoc2013-empathy-383e6e321139a49a17be2bb3025e0568957e48fb.zip
chatroom-manager: Save correct room name
When writing out the room name to the persistance file, the room name should properly be gotten with the get_room function. This bug has probably not bitten too many users as the remote room name and the favorite chatroom name usually are usually the same; however, if the user were to change the favorite chatroom name then this bug would become apparent.
Diffstat (limited to 'libempathy')
-rw-r--r--libempathy/empathy-chatroom-manager.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libempathy/empathy-chatroom-manager.c b/libempathy/empathy-chatroom-manager.c
index bfb85f53f..d5513caf1 100644
--- a/libempathy/empathy-chatroom-manager.c
+++ b/libempathy/empathy-chatroom-manager.c
@@ -112,7 +112,7 @@ chatroom_manager_file_save (EmpathyChatroomManager *manager)
xmlNewTextChild (node, NULL, (const xmlChar *) "name",
(const xmlChar *) empathy_chatroom_get_name (chatroom));
xmlNewTextChild (node, NULL, (const xmlChar *) "room",
- (const xmlChar *) empathy_chatroom_get_name (chatroom));
+ (const xmlChar *) empathy_chatroom_get_room (chatroom));
xmlNewTextChild (node, NULL, (const xmlChar *) "account",
(const xmlChar *) account_id);
xmlNewTextChild (node, NULL, (const xmlChar *) "auto_connect",