summaryrefslogtreecommitdiff
path: root/Command
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2012-10-09 12:18:41 -0400
committerGravatar Joey Hess <joey@kitenet.net>2012-10-09 12:18:41 -0400
commit5aca7af2f702aa508ec5949e1fddbee429a93db5 (patch)
treef941ab8fc820ced727c3e5a024d1e0ec0cfcb559 /Command
parenta7d8c4101c4cc476323ce0fca372b01198167773 (diff)
assistant: Now honors preferred content settings when deciding what to transfer.
Both when queueing downloads, and uploads, consults the preferred content settings. I didn't make it check yet when requeing failed transfers or queuing deferred downloads; dealing with the preferred content settings (or indeed, other settings) changing while the assistant is running still needs work.
Diffstat (limited to 'Command')
-rw-r--r--Command/Copy.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Command/Copy.hs b/Command/Copy.hs
index f044facf4..4352aaa31 100644
--- a/Command/Copy.hs
+++ b/Command/Copy.hs
@@ -32,4 +32,4 @@ start to from file (key, backend) = autoCopies file key (<) $
where
shouldCopy = case to of
Nothing -> checkAuto $ wantGet (Just file)
- Just r -> checkAuto $ wantSend (Remote.uuid r) (Just file)
+ Just r -> checkAuto $ wantSend (Just file) (Remote.uuid r)