Commit 311b14fa authored by Kateryna Kostiuk's avatar Kateryna Kostiuk

fix: file transfer

This patch uses peer hash instead of uri for file transfer.

Change-Id: Icc9cafb553514d530386cc8df2526e86490869a6
parent 9301af3c
......@@ -403,7 +403,7 @@ class ConversationViewModel: Stateable, ViewModel {
guard let accountId = accountService.currentAccount?.id else {return}
self.dataTransferService.sendAndSaveFile(displayName: displayName,
accountId: accountId,
peerInfoHash: self.conversation.value.participantUri,
peerInfoHash: self.conversation.value.hash,
imageData: imageData,
conversationId: self.conversation.value.conversationId)
}
......
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