libpurple/protocols/yahoo/libymsg.c

branch
soc.2013.gobjectification
changeset 34627
08733a7475df
parent 34625
03d62b1660fc
child 34631
18bd628bb28d
--- a/libpurple/protocols/yahoo/libymsg.c	Sun Jun 23 17:32:51 2013 +0530
+++ b/libpurple/protocols/yahoo/libymsg.c	Sun Jun 23 17:33:58 2013 +0530
@@ -930,7 +930,7 @@
 			PurpleConversation *c;
 			c = purple_conversations_find_im_with_account(sms->from, account);
 			if (c == NULL)
-				c = purple_conversation_new(PURPLE_CONV_TYPE_IM, account, sms->from);
+				c = purple_im_conversation_new(account, sms->from);
 			purple_conversation_write(c, NULL, server_msg, PURPLE_MESSAGE_SYSTEM, time(NULL));
 		}
 		else

mercurial