Skip to content
Snippets Groups Projects
Unverified Commit 332e2f38 authored by Sébastien Blin's avatar Sébastien Blin
Browse files

filetransfer: accept even with no extension

No reason to not auto accept this

Change-Id: I2abfd9fb75d65fce921ea7bfc94a65326d4b4e93
parent 29cd489a
Branches
No related tags found
No related merge requests found
......@@ -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);
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment