|
@@ -56,7 +56,7 @@ object OCShareToOCFileConverter {
|
|
mimeType = firstShare.mimetype
|
|
mimeType = firstShare.mimetype
|
|
note = firstShare.note
|
|
note = firstShare.note
|
|
fileId = firstShare.fileSource
|
|
fileId = firstShare.fileSource
|
|
- remoteId = "-1" // remoteId is not given from server
|
|
|
|
|
|
+ remoteId = firstShare.remoteId.toString()
|
|
// use first share timestamp as timestamp
|
|
// use first share timestamp as timestamp
|
|
firstShareTimestamp = shares.minOf { it.sharedDate * MILLIS_PER_SECOND }
|
|
firstShareTimestamp = shares.minOf { it.sharedDate * MILLIS_PER_SECOND }
|
|
// don't have file length or mod timestamp
|
|
// don't have file length or mod timestamp
|