Fix thumbnail generation after successful upload
authorDavid A. Velasco <dvelasco@solidgear.es>
Thu, 16 Oct 2014 14:14:03 +0000 (16:14 +0200)
committerDavid A. Velasco <dvelasco@solidgear.es>
Thu, 16 Oct 2014 14:14:03 +0000 (16:14 +0200)
src/com/owncloud/android/files/services/FileUploader.java

index 4e68c8e..ad2a2cb 100644 (file)
@@ -641,6 +641,7 @@ public class FileUploader extends Service implements OnDatatransferProgressListe
         file.setModificationTimestamp(remoteFile.getModifiedTimestamp());
         file.setModificationTimestampAtLastSyncForData(remoteFile.getModifiedTimestamp());
         // file.setEtag(remoteFile.getEtag());    // TODO Etag, where available
+        file.setRemoteId(remoteFile.getRemoteId());
     }
 
     private OCFile obtainNewOCFileToUpload(String remotePath, String localPath, String mimeType,