pidgin/pidgin

Let purple_xfer_conversation_write() handle chats too
release-2.x.y
2020-05-20, David Woodhouse
2097f91763f1
Parents 93bf0203f935
Children 3d50e9e9e84d
Let purple_xfer_conversation_write() handle chats too
--- a/libpurple/ft.c Wed May 20 11:33:58 2020 +0100
+++ b/libpurple/ft.c Wed May 20 14:56:03 2020 +0100
@@ -289,7 +289,7 @@
thumbnail_data = purple_xfer_get_thumbnail(xfer, &size);
- conv = purple_find_conversation_with_account(PURPLE_CONV_TYPE_IM, xfer->who,
+ conv = purple_find_conversation_with_account(PURPLE_CONV_TYPE_ANY, xfer->who,
purple_xfer_get_account(xfer));
if (conv == NULL)
@@ -898,7 +898,7 @@
else
msg = g_strdup(_("File transfer complete"));
- conv = purple_find_conversation_with_account(PURPLE_CONV_TYPE_IM, xfer->who,
+ conv = purple_find_conversation_with_account(PURPLE_CONV_TYPE_ANY, xfer->who,
purple_xfer_get_account(xfer));
if (conv != NULL)