Skip to content
Snippets Groups Projects
Commit 5fdf8f0f authored by Rob Swindell's avatar Rob Swindell :speech_balloon:
Browse files

Don't MQTT-publish the download of temp files

parent b71e3d56
No related branches found
No related tags found
1 merge request!463MRC mods by Codefenix (2024-10-20)
...@@ -827,6 +827,7 @@ static void send_thread(void* arg) ...@@ -827,6 +827,7 @@ static void send_thread(void* arg)
if(!xfer.tmpfile && !xfer.delfile && !(scfg.dir[f.dir]->misc&DIR_NOSTAT)) if(!xfer.tmpfile && !xfer.delfile && !(scfg.dir[f.dir]->misc&DIR_NOSTAT))
inc_download_stats(&scfg, 1, (ulong)total); inc_download_stats(&scfg, 1, (ulong)total);
if(!xfer.tmpfile)
mqtt_file_download(&mqtt, xfer.user, &f, total, xfer.client); mqtt_file_download(&mqtt, xfer.user, &f, total, xfer.client);
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment