Detect conflict when local and server version are changed
authormasensio <masensio@solidgear.es>
Thu, 29 Oct 2015 16:13:24 +0000 (17:13 +0100)
committermasensio <masensio@solidgear.es>
Thu, 29 Oct 2015 16:13:24 +0000 (17:13 +0100)
src/com/owncloud/android/operations/SynchronizeFolderOperation.java

index 4c2030e..b8da4a1 100644 (file)
@@ -404,7 +404,7 @@ public class SynchronizeFolderOperation extends SyncOperation {
                     /// this should result in direct upload of files that were locally modified
                     SynchronizeFileOperation operation = new SynchronizeFileOperation(
                             child,
-                            (child.getEtagInConflict() != null ? null : child),
+                            (child.getEtagInConflict() != null ? child : null),
                             mAccount,
                             true,
                             mContext