ssbc / ssb-meta-feeds

10 stars 0 forks source link

branchStream supports opts.tombstoned=null #55

Closed staltz closed 2 years ago

staltz commented 2 years ago

Currently, branchStream supports opts.tombstoned as a boolean.

In ssb-replication-scheduler I need a way of looking up the non-tombstoned subfeeds of a tombstoned feed, because those subfeeds are to be considered implicitly tombstoned as well. The current branchStream doesn't let me do that.

This PR changes opts.tombstoned to allow null, which means I can look up subfeeds regardless of their tombstoning status.

staltz commented 2 years ago

Added the code comments

staltz commented 2 years ago

Can has second review? @arj03