Mercurial > pidgin
diff libpurple/server.c @ 22647:b398fe0a450e
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
| author | Will Thompson <will.thompson@collabora.co.uk> |
|---|---|
| date | Sat, 12 Apr 2008 12:54:15 +0000 |
| parents | 3232cc79fa51 |
| children | 17cda378a2dd 69d54f84350a |
line wrap: on
line diff
--- 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); /*
