Fixed unique ID generation

This commit is contained in:
WolverinDEV
2020-07-30 14:00:25 +02:00
parent 1e0c9eabe3
commit c60119af00
3 changed files with 23 additions and 2 deletions
+3
View File
@@ -151,6 +151,9 @@ void FileServerHandler::callback_transfer_statistics(const std::shared_ptr<trans
client->getConnectionStatistics()->logFileTransferOut(statistics.delta_file_bytes_transferred);
}
if(client->getType() == ClientType::CLIENT_TEAMSPEAK)
return; /* TS3 does not know this notify */
ts::command_builder notify{"notifyfiletransferprogress"};
notify.put_unchecked(0, "clientftfid", transfer->client_transfer_id);