fix: invalidate entries query after unsubscribe

This commit is contained in:
Stephen Zhou 2025-07-02 22:11:06 +08:00
parent 796171de0e
commit e91b2bfa6a
No known key found for this signature in database
1 changed files with 3 additions and 0 deletions

View File

@ -375,6 +375,9 @@ class SubscriptionSyncService {
})
await tx.run()
invalidateEntriesQuery({
views: Array.from(new Set([...feedSubscriptions, ...listSubscriptions].map((i) => i.view))),
})
return feedsAndLists
}