# HG changeset patch # User Will Thompson # Date 1208004855 0 # Node ID b398fe0a450e6d51b27e1862fed6164b0f73523c # Parent d7f7a87a8e38f5dc95740106b777f6bb308fcdf3 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 diff -r d7f7a87a8e38 -r b398fe0a450e libpurple/server.c --- a/libpurple/server.c Sat Apr 12 08:46:44 2008 +0000 +++ b/libpurple/server.c Sat Apr 12 12:54:15 2008 +0000 @@ -705,7 +705,7 @@ 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); /*