From 5646e293573d1b540a1fe84727b3fbe4dbb9500a Mon Sep 17 00:00:00 2001 From: csoler Date: Wed, 27 Feb 2013 10:03:54 +0000 Subject: [PATCH] added auto-check of shared files after each download. If that causes too much activity, we will make this a option that in on by default git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6154 b45a01b8-16f6-495d-af2f-9b41ad6348cc --- libretroshare/src/ft/ftcontroller.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/libretroshare/src/ft/ftcontroller.cc b/libretroshare/src/ft/ftcontroller.cc index 43da51a8e..f6f915a26 100644 --- a/libretroshare/src/ft/ftcontroller.cc +++ b/libretroshare/src/ft/ftcontroller.cc @@ -970,11 +970,12 @@ bool ftController::completeFile(std::string hash) } rsicontrol->getNotify().notifyDownloadComplete(hash); rsicontrol->getNotify().notifyDownloadCompleteCount(completeCount); + + rsFiles->ForceDirectoryCheck() ; } IndicateConfigChanged(); /* completed transfer -> save */ return true; - } /***************************************************************/