Переглянути джерело

Detect conflict when local and server version are changed

masensio 9 роки тому
батько
коміт
3444d61be8

+ 1 - 1
src/com/owncloud/android/operations/SynchronizeFolderOperation.java

@@ -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