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,7 +827,8 @@ static void send_thread(void* arg)
if(!xfer.tmpfile && !xfer.delfile && !(scfg.dir[f.dir]->misc&DIR_NOSTAT))
inc_download_stats(&scfg, 1, (ulong)total);
mqtt_file_download(&mqtt, xfer.user, &f, total, xfer.client);
if(!xfer.tmpfile)
mqtt_file_download(&mqtt, xfer.user, &f, total, xfer.client);
}
if(xfer.credits) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment