diff src/protocols/oscar/oscar.c @ 9917:e74eb0d11f86

[gaim-migrate @ 10809] view chat logs curtesy of datallah committer: Tailor Script <tailor@pidgin.im>
author Luke Schierer <lschiere@pidgin.im>
date Tue, 31 Aug 2004 01:45:12 +0000
parents 3df9ffcb9b06
children 1806abd8ccbc
line wrap: on
line diff
--- a/src/protocols/oscar/oscar.c	Mon Aug 30 23:13:28 2004 +0000
+++ b/src/protocols/oscar/oscar.c	Tue Aug 31 01:45:12 2004 +0000
@@ -6324,6 +6324,10 @@
 	return defaults;
 }
 
+static char *oscar_get_chat_name(GHashTable *data) {
+	return g_strdup(g_hash_table_lookup(data, "room"));
+}
+
 static void oscar_join_chat(GaimConnection *gc, GHashTable *data) {
 	OscarData *od = (OscarData *)gc->proto_data;
 	aim_conn_t *cur;
@@ -7287,6 +7291,7 @@
 	oscar_warn,				/* warn */
 	oscar_join_chat,		/* join_chat */
 	NULL,					/* reject_chat */
+	oscar_get_chat_name,		/* get_chat_name */
 	oscar_chat_invite,		/* chat_invite */
 	oscar_chat_leave,		/* chat_leave */
 	NULL,					/* chat_whisper */