mirror of
https://github.com/opencloud-eu/opencloud.git
synced 2026-04-24 04:58:31 -05:00
Generated
Vendored
+1
-1
@@ -1167,7 +1167,7 @@ func findEarliestShare(receivedShares []*collaboration.ReceivedShare, shareInfo
|
||||
}
|
||||
|
||||
switch {
|
||||
case earliestShare == nil:
|
||||
case earliestShare == nil && hasCurrentMd:
|
||||
earliestShare = current
|
||||
// ignore if one of the shares has no metadata
|
||||
case !hasEarliestMd || !hasCurrentMd:
|
||||
|
||||
Reference in New Issue
Block a user