diff src/server.c @ 6509:e74e378e86bf

[gaim-migrate @ 7026] This changes the sending and receiving signals to use GaimAccounts and recipient/sender usernames rather than GaimConversations. The display* signals aren't changed yet because I'm not sure I fully grok them. committer: Tailor Script <tailor@pidgin.im>
author Ethan Blanton <elb@pidgin.im>
date Tue, 19 Aug 2003 23:52:07 +0000
parents b6f7fcafc908
children 4c9e8867c45c
line wrap: on
line diff
--- a/src/server.c	Tue Aug 19 21:47:36 2003 +0000
+++ b/src/server.c	Tue Aug 19 23:52:07 2003 +0000
@@ -858,8 +858,8 @@
 
 		plugin_return = GPOINTER_TO_INT(
 			gaim_signal_emit_return_1(gaim_conversations_get_handle(),
-									  "received-im-msg",
-									  cnv, &angel, &buffy, &flags));
+									  "received-im-msg", gc->account,
+									  &angel, &buffy, &flags));
 
 		if (!buffy || !angel || plugin_return) {
 			if (buffy)
@@ -1472,8 +1472,9 @@
 
 	plugin_return = GPOINTER_TO_INT(
 		gaim_signal_emit_return_1(gaim_conversations_get_handle(),
-								  "received-chat-msg",
-								  conv, &angel, &buffy));
+								  "received-chat-msg", g->account,
+								  &angel, &buffy,
+								  gaim_chat_get_id(GAIM_CHAT(conv))));
 
 	if (!buffy || !angel || plugin_return) {
 		if (buffy)