diff src/protocols/zephyr/zephyr.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 f6a1054e2bdc
children b76915608068
line wrap: on
line diff
--- a/src/protocols/zephyr/zephyr.c	Mon Aug 30 23:13:28 2004 +0000
+++ b/src/protocols/zephyr/zephyr.c	Tue Aug 31 01:45:12 2004 +0000
@@ -2180,6 +2180,11 @@
 	g_free(subscribe_failed);
 }
 
+static char *zephyr_get_chat_name(GaimConnection *gc, GHashTable *data) {
+	/** XXX someone who uses zephyr should verify this */
+	return g_strdup(g_hash_table_lookup(data, "recipient"));
+}
+
 static void zephyr_join_chat(GaimConnection * gc, GHashTable * data)
 {
 	/*	ZSubscription_t sub; */
@@ -2666,6 +2671,7 @@
 	NULL,					/* warn	 -- not supported in zephyr */
 	zephyr_join_chat,			/* join_chat */
 	NULL,					/* reject_chat -- No chat invites*/
+	zephyr_get_chat_name,			/* get_chat_name */
 	NULL,					/* chat_invite -- No chat invites*/
 	zephyr_chat_leave,			/* chat_leave */
 	NULL,					/* chat_whisper -- No "whispering"*/