diff src/conversation.c @ 2345:a49e8f1afbc4

[gaim-migrate @ 2358] you say potato, i say potato you say tomato, i say tomato potato, potato tomato, tomato let's call the whole thing off. *sigh*. it just doesn't work as well when it's typed. but you wouldn't want to hear me sing it. committer: Tailor Script <tailor@pidgin.im>
author Eric Warmenhoven <eric@warmenhoven.org>
date Sat, 22 Sep 2001 09:14:27 +0000
parents b16642ac87b2
children 08c66712364c
line wrap: on
line diff
--- a/src/conversation.c	Sat Sep 22 07:02:30 2001 +0000
+++ b/src/conversation.c	Sat Sep 22 09:14:27 2001 +0000
@@ -847,7 +847,9 @@
 	{
 		char *buffy = g_strdup(buf);
 		enum gaim_event evnt = c->is_chat ? event_chat_send : event_im_send;
-		int plugin_return = plugin_event(evnt, c->gc, c->name, &buffy, 0);
+		int plugin_return = plugin_event(evnt, c->gc,
+						c->is_chat ? (void *)c->id : c->name,
+						&buffy, 0);
 		if (!buffy) {
 			g_free(buf2);
 			g_free(buf);