diff src/protocols/novell/novell.c @ 10246:a66cf83552dc

[gaim-migrate @ 11386] I changed gaim_find_conversation and gaim_find_conversation_with_account The first parameter is now one of GAIM_CONV_IM, GAIM_CONV_CHAT or GAIM_CONV_ANY. Unfortunately, this changes a bajillion files. Please look over this and make sure I use the correct type everywhere. Especially in Novell and MSN, and somewhat in SILC. committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Tue, 23 Nov 2004 06:14:15 +0000
parents 9f358a718f38
children 3e4ecbdf8d0a
line wrap: on
line diff
--- a/src/protocols/novell/novell.c	Tue Nov 23 05:53:59 2004 +0000
+++ b/src/protocols/novell/novell.c	Tue Nov 23 06:14:15 2004 +0000
@@ -194,7 +194,9 @@
 		if (user_record) {
 
 			/* Set the title for the conversation */
-			gconv =	gaim_find_conversation_with_account(nm_user_record_get_display_id(user_record),
+			/* XXX - Should this be GAIM_CONV_IM? */
+			gconv =	gaim_find_conversation_with_account(GAIM_CONV_ANY,
+														nm_user_record_get_display_id(user_record),
 														(GaimAccount *) user->client_data);
 			if (gconv) {
 
@@ -1760,7 +1762,7 @@
 							text, imflags,
 							nm_event_get_gmt(event));
 
-				gconv =	gaim_find_conversation_with_account(
+				gconv =	gaim_find_conversation_with_account(GAIM_CONV_IM,
 					nm_user_record_get_display_id(user_record),
 					(GaimAccount *) user->client_data);
 				if (gconv) {
@@ -2034,8 +2036,10 @@
 
 	ur = nm_find_user_record(user, nm_event_get_source(event));
 	if (ur) {
+		/* XXX - Should this be GAIM_CONV_IM? */
 		gconv =
-			gaim_find_conversation_with_account(nm_user_record_get_display_id(ur),
+			gaim_find_conversation_with_account(GAIM_CONV_ANY,
+												nm_user_record_get_display_id(ur),
 												user->client_data);
 		if (gconv) {
 			const char *name = nm_user_record_get_full_name(ur);