From 383e6e321139a49a17be2bb3025e0568957e48fb Mon Sep 17 00:00:00 2001 From: Jonas Bonn Date: Mon, 8 Mar 2010 10:30:02 +0100 Subject: 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. --- libempathy/empathy-chatroom-manager.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libempathy/empathy-chatroom-manager.c') 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", -- cgit v1.2.3