Skip to content

armgit / ente

Public Imported from GitHub
0

πŸ’š End-to-end encrypted cloud for everything.

Stop applying shared feed cutoff to shared collection items

ashilkna93c9d9cff90
diff --git a/mobile/apps/photos/lib/models/social/feed_data_provider.dart b/mobile/apps/photos/lib/models/social/feed_data_provider.dart
index 93f9883a0c..a8fc55dcde 100644
--- a/mobile/apps/photos/lib/models/social/feed_data_provider.dart
+++ b/mobile/apps/photos/lib/models/social/feed_data_provider.dart
@@ -193,7 +193,6 @@ class FeedDataProvider {
sharedCollectionsContext.collectionNames,
initialSharedFileIDsByCollection:
sharedPhotoFeedResult.initialSharedFileIDsByCollection,
- sharedFeedCutoffTime: sharedFeedCutoffTime,
),
);
@@ -619,12 +618,9 @@ class FeedDataProvider {
List<Collection> incomingSharedCollections,
Map<int, String> collectionNames, {
required Map<int, List<int>> initialSharedFileIDsByCollection,
- required int sharedFeedCutoffTime,
}) {
return incomingSharedCollections
- .where(
- (collection) => (collection.sharedAt ?? 0) > sharedFeedCutoffTime,
- )
+ .where((collection) => (collection.sharedAt ?? 0) > 0)
.map((collection) {
final ownerID = collection.owner.id;
if (ownerID == null) {