diff --git a/server/src/FileServerHandler.cpp b/server/src/FileServerHandler.cpp index e9c853b..53ef8da 100644 --- a/server/src/FileServerHandler.cpp +++ b/server/src/FileServerHandler.cpp @@ -92,7 +92,6 @@ void FileServerHandler::callback_transfer_aborted(const std::shared_ptrproperties()[property::CLIENT_MONTH_BYTES_DOWNLOADED] += -bytes_left; } - ts::command_builder notify{"notifystatusfiletransfer"}; notify.put_unchecked(0, "clientftfid", transfer->client_transfer_id); @@ -191,6 +190,10 @@ void FileServerHandler::callback_transfer_finished(const std::shared_ptrfind_client_by_id(transfer->client_id); if(!client || client->getUid() != transfer->client_unique_id) return; + + if(client->getType() == ClientType::CLIENT_TEAMSPEAK) + return; + ts::command_builder notify{"notifystatusfiletransfer"}; notify.put_unchecked(0, "clientftfid", transfer->client_transfer_id);