Have oscar specify a default chat room exchange of 4. Finch always

Mon, 03 Dec 2007 05:55:30 +0000

author
Mark Doliner <markdoliner@pidgin.im>
date
Mon, 03 Dec 2007 05:55:30 +0000
changeset 21854
8b23ec9540ba
parent 21853
904bde12304a
child 21858
3cd092cc6ef9

Have oscar specify a default chat room exchange of 4. Finch always
uses this as the exchange and doesn't allow the user to change it
(which is fine), except that before this change you couldn't add a
chat to your buddy list with Finch because the exchange wouldn't be
set and oscar wouldn't join the room.

Fixes #4137

libpurple/protocols/oscar/oscar.c file | annotate | diff | comparison | revisions
--- a/libpurple/protocols/oscar/oscar.c	Mon Dec 03 05:31:36 2007 +0000
+++ b/libpurple/protocols/oscar/oscar.c	Mon Dec 03 05:55:30 2007 +0000
@@ -5335,6 +5335,7 @@
 
 	if (chat_name != NULL)
 		g_hash_table_insert(defaults, "room", g_strdup(chat_name));
+	g_hash_table_insert(defaults, "exchange", g_strdup("4"));
 
 	return defaults;
 }

mercurial