Browse Source

fix(corefile): Close files of broken file transfers

Fix #6500
reviewable/pr6569/r1
Anthony Bilinski 4 years ago
parent
commit
5de5403964
No known key found for this signature in database
GPG Key ID: 2AA8E0DA1B31FB3C
  1. 1
      src/core/corefile.cpp

1
src/core/corefile.cpp

@ -553,5 +553,6 @@ void CoreFile::onConnectionStatusChanged(uint32_t friendId, Status::Status state @@ -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);
}
}

Loading…
Cancel
Save