diff options
author | Joey Hess <joey@kitenet.net> | 2013-03-15 19:16:13 -0400 |
---|---|---|
committer | Joey Hess <joey@kitenet.net> | 2013-03-15 19:16:13 -0400 |
commit | eabe9d8c6177318432eb81120f4d5db05898c891 (patch) | |
tree | 6fedada070d79a4afec236a63ead893bc41b04e9 /Assistant/XMPP | |
parent | 34c604b935e6e3e40796c9132ed19d44442cb809 (diff) |
add globallyAvailable to remotes
Diffstat (limited to 'Assistant/XMPP')
-rw-r--r-- | Assistant/XMPP/Git.hs | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/Assistant/XMPP/Git.hs b/Assistant/XMPP/Git.hs index 74ce4b725..135c68fbc 100644 --- a/Assistant/XMPP/Git.hs +++ b/Assistant/XMPP/Git.hs @@ -293,7 +293,10 @@ checkCloudRepos :: UrlRenderer -> Remote -> Assistant () -- TODO only display if needed checkCloudRepos urlrenderer r = #ifdef WITH_WEBAPP - cloudRepoNeeded urlrenderer (Remote.uuid r) + unlessM (syncingToCloudRemote <$> getDaemonStatus) $ + cloudRepoNeeded urlrenderer (Remote.uuid r) +#else + noop #endif writeChunk :: Handle -> B.ByteString -> IO () |