filetransfer: accept even with no extension

No reason to not auto accept this

Change-Id: I2abfd9fb75d65fce921ea7bfc94a65326d4b4e93
parent 29cd489a
......@@ -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);
}
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment