pidgin: 77fe840a: Pass something useful as the 'who' param...

resiak at soc.pidgin.im resiak at soc.pidgin.im
Sat Apr 12 09:00:45 EDT 2008


-----------------------------------------------------------------
Revision: 77fe840adf32ea75b35d2667354809b813ccde45
Ancestor: aec32b23b52491d40f8adc3386e1a2509ecfa5f0
Author: resiak at soc.pidgin.im
Date: 2008-04-12T12:54:15
Branch: im.pidgin.pidgin
URL: http://d.pidgin.im/viewmtn/revision/info/77fe840adf32ea75b35d2667354809b813ccde45

Modified files:
        libpurple/server.c

ChangeLog: 

Pass something useful as the 'who' parameter to purple_conv_im_write for
incoming messages, not NULL.  I don't really see what this could break, but
disapprove it if I'm blind.  Fixes #2337

-------------- next part --------------
============================================================
--- libpurple/server.c	2f84d197fbaa0bd1e623a3abb426260c3246df4c
+++ libpurple/server.c	6f8e729ec6c6920f6ea090d8778bc2814c76f132
@@ -705,7 +705,7 @@ void serv_got_im(PurpleConnection *gc, c
 	if (conv == NULL)
 		conv = purple_conversation_new(PURPLE_CONV_TYPE_IM, account, name);
 
-	purple_conv_im_write(PURPLE_CONV_IM(conv), NULL, message, flags, mtime);
+	purple_conv_im_write(PURPLE_CONV_IM(conv), name, message, flags, mtime);
 	g_free(message);
 
 	/*


More information about the Commits mailing list