File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -177,28 +177,6 @@ DB apply rule:
1771773 . Reconcile feed groups by name (create/update)
1781784 . Rewrite membership for each group from merged membership set
179179
180- ## DAO Changes - Exact Purpose
181-
182- A detailed beginner explanation is in ` NOSTR_SYNC_DAO_README.md ` .
183-
184- Summary of exact DAO additions:
185-
186- 1 . ` StreamHistoryDAO.getHistorySortedByIdBlocking() `
187- 2 . ` SubscriptionDAO.getAllBlocking() `
188- 3 . ` FeedGroupDAO.getAllBlocking() `
189- 4 . ` FeedGroupDAO.getSubscriptionIdsForBlocking(groupId) `
190- 5 . ` StreamStateDAO.getAllBlocking() `
191- 6 . ` StreamStateDAO.getStateBlocking(streamId) `
192-
193- Why these were needed:
194-
195- 1 . The sync merge pipeline in ` NostrSyncManager ` is synchronous map-building logic.
196- 2 . It needs immediate one-shot snapshots (history rows, stream progress rows,
197- subscriptions, groups, group memberships).
198- 3 . It also needs current persisted stream state for delta-based progress sync triggers.
199- 4 . Existing ` Flowable ` APIs are reactive streams, not convenient for this synchronous merge/apply phase.
200- 5 . Blocking reads are called from IO scheduler context (not UI thread), then writes are done transactionally.
201-
202180## Robustness and UX Fixes Included
203181
2041821 . Crash fixes around Nostr Sync screen initialization.
You can’t perform that action at this time.
0 commit comments