Fixed ft stats

This commit is contained in:
WolverinDEV 2020-04-28 19:59:05 +02:00
parent ff88705f09
commit dfd33eb674

View File

@ -416,6 +416,8 @@ command_result QueryClient::handleCommandServerInfo(Command &) {
cmd["connection_filetransfer_bandwidth_sent"] = report_minute.file_bytes_sent;
cmd["connection_filetransfer_bandwidth_received"] = report_minute.file_bytes_received;
cmd["connection_filetransfer_bytes_sent_total"] = total_stats.file_bytes_sent;
cmd["connection_filetransfer_bytes_received_total"] = total_stats.file_bytes_received;
cmd["connection_packets_sent_speech"] = total_stats.connection_packets_sent[stats::ConnectionStatistics::category::VOICE];
cmd["connection_bytes_sent_speech"] = total_stats.connection_bytes_sent[stats::ConnectionStatistics::category::VOICE];