mirror of
https://github.com/nextcloud/android.git
synced 2024-11-23 13:45:35 +03:00
After successful upload update permission to have correct resharing info
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
This commit is contained in:
parent
dc1b0748e4
commit
d772fe54f5
2 changed files with 2 additions and 0 deletions
|
@ -234,6 +234,7 @@ public abstract class AbstractOnServerIT extends AbstractIT {
|
|||
getFileByDecryptedRemotePath(parentFolder.getDecryptedRemotePath() + uploadedFileName);
|
||||
|
||||
assertNotNull(uploadedFile.getRemoteId());
|
||||
assertNotNull(uploadedFile.getPermissions());
|
||||
|
||||
if (localBehaviour == FileUploader.LOCAL_BEHAVIOUR_COPY ||
|
||||
localBehaviour == FileUploader.LOCAL_BEHAVIOUR_MOVE) {
|
||||
|
|
|
@ -1389,6 +1389,7 @@ public class UploadFileOperation extends SyncOperation {
|
|||
file.setModificationTimestampAtLastSyncForData(remoteFile.getModifiedTimestamp());
|
||||
file.setEtag(remoteFile.getEtag());
|
||||
file.setRemoteId(remoteFile.getRemoteId());
|
||||
file.setPermissions(remoteFile.getPermissions());
|
||||
}
|
||||
|
||||
public interface OnRenameListener {
|
||||
|
|
Loading…
Reference in a new issue