Commit 25bfa385 authored by Kateryna Kostiuk's avatar Kateryna Kostiuk

file transfer: auto accept any type

Change-Id: I1253aab69cc0a5070612d6771e155a8b46805777
parent 903ae862
......@@ -225,10 +225,6 @@ class ConversationsManager: MessagesAdapterDelegate {
guard let messageData = self.conversationService.dataTransferMessageMap[transferId] else {return}
if !(self.dataTransferService.isTransferImage(withId: transferId, accountID: accountId,
conversationID: String(messageData.conversationID)) ?? false) {
var filename = ""
if self.dataTransferService.acceptTransfer(withId: transferId, interactionID: messageData.messageID,
fileName: &filename, accountID: accountId,
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