diff --git a/src/core/corefile.cpp b/src/core/corefile.cpp index 58d34d519..210b1f414 100644 --- a/src/core/corefile.cpp +++ b/src/core/corefile.cpp @@ -553,5 +553,6 @@ void CoreFile::onConnectionStatusChanged(uint32_t friendId, Status::Status state continue; fileMap[key].status = status; emit fileTransferBrokenUnbroken(fileMap[key], isOffline); + removeFile(friendId, fileMap[key].fileNum); } }