From d4e96085195ccc35c6bc181692ff922c06e7e5bf Mon Sep 17 00:00:00 2001 From: George Hazan Date: Wed, 15 Apr 2020 14:09:49 +0300 Subject: Jabber: inlined picture sending doesn't close file transfer dialog window --- protocols/JabberG/src/jabber_ft.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'protocols/JabberG/src') diff --git a/protocols/JabberG/src/jabber_ft.cpp b/protocols/JabberG/src/jabber_ft.cpp index 674e793b2d..df8a0cee03 100644 --- a/protocols/JabberG/src/jabber_ft.cpp +++ b/protocols/JabberG/src/jabber_ft.cpp @@ -105,7 +105,7 @@ LBL_Error: // if we enabled XEP-0231, try to inline a picture if (m_bInlinePictures && ProtoGetAvatarFileFormat(ft->std.szCurrentFile.w)) { if (FtTryInlineFile(ft)) { - FtSendFinal(true, ft); + mir_forkthread(FakeAckThread, ft); return; } } -- cgit v1.2.3