1
0
mirror of https://github.com/qTox/qTox.git synced 2024-03-22 14:00:36 +08:00

fix(corefile): Close files of broken file transfers

Fix #6500
This commit is contained in:
Anthony Bilinski 2022-03-15 01:48:20 -07:00
parent 42b4385c35
commit 5de5403964
No known key found for this signature in database
GPG Key ID: 2AA8E0DA1B31FB3C

View File

@ -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);
}
}