datatransfer: fix interaction's id mapping when retried

Change-Id: Iaea6dbb46fd22d7517b3f07d6db35cf0f9b83489
parent 82d2e902
......@@ -104,6 +104,7 @@ void
DataTransferModel::registerTransferId(long long dringId, int interactionId)
{
pimpl_->dring2lrcIdMap.emplace(dringId, interactionId);
pimpl_->lrc2dringIdMap.erase(interactionId); // Because a file transfer can be retried
pimpl_->lrc2dringIdMap.emplace(interactionId, dringId);
}
......
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