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

data_transfer: fix inverted condition

it's swarm if interactionId != ""

Change-Id: I5345eaeb60b71a45136a560507dd87a92049f043
parent e40faa69
No related branches found
No related tags found
No related merge requests found
......@@ -782,7 +782,7 @@ OutgoingFile::process()
// But for now, we can just avoid to emit errors to the client, because for outgoing
// transfer in a swarm, for outgoingFiles, we know that the file is ok. And the peer
// will retry the transfer if they need, so we don't need to show errors.
if (interactionId_.empty() && !correct)
if (!interactionId_.empty() && !correct)
return;
auto code = correct ? DRing::DataTransferEventCode::finished
: DRing::DataTransferEventCode::closed_by_peer;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment