[empathy] chatroom-manager: Save correct room name



commit 383e6e321139a49a17be2bb3025e0568957e48fb
Author: Jonas Bonn <jonas southpole se>
Date:   Mon Mar 8 10:30:02 2010 +0100

    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 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/libempathy/empathy-chatroom-manager.c b/libempathy/empathy-chatroom-manager.c
index bfb85f5..d5513ca 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",



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]