Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/owncloud/client.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/mirall/folder.cpp6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/mirall/folder.cpp b/src/mirall/folder.cpp
index e9678ba9f..8b22144ea 100644
--- a/src/mirall/folder.cpp
+++ b/src/mirall/folder.cpp
@@ -321,11 +321,7 @@ void Folder::etagRetreived(const QString& etag)
// re-enable sync if it was disabled because network was down
FolderMan::instance()->setSyncEnabled(true);
- if (_lastEtag.isEmpty()) {
- _lastEtag = etag;
- // don't schedule a sync in this case, the _lastEtag is empty because it is the start
- // and a sync was scheduled through other means anyway.
- } else if (_lastEtag != etag) {
+ if (_lastEtag != etag) {
_lastEtag = etag;
emit scheduleToSync(alias());
}