From 332e2f3891c211cdd454d3a7b64384fca24d34be Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Blin?= <sebastien.blin@savoirfairelinux.com> Date: Wed, 18 Mar 2020 13:20:26 -0400 Subject: [PATCH] filetransfer: accept even with no extension No reason to not auto accept this Change-Id: I2abfd9fb75d65fce921ea7bfc94a65326d4b4e93 --- src/conversationmodel.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/conversationmodel.cpp b/src/conversationmodel.cpp index 8720c6ca..b72fee84 100644 --- a/src/conversationmodel.cpp +++ b/src/conversationmodel.cpp @@ -2192,7 +2192,7 @@ ConversationModelPimpl::slotTransferStatusAwaitingHost(long long dringId, datatr return; } // If it's an accepted file type and less than 20 MB, accept transfer. - if (info.totalSize < 20 * 1024 * 1024 && info.displayName.contains(".")) { + if (info.totalSize < 20 * 1024 * 1024) { acceptTransfer(convId, interactionId, info.displayName); } } -- GitLab