ssbc / ssb-meta-feeds

10 stars 0 forks source link

feedpurpose validation: disallow "main" #109

Open staltz opened 1 year ago

staltz commented 1 year ago

Don't allow creating a subfeed with purpose "main", it would conflict with the existing main feed.

Even if the main feed isn't there (e.g. if the user has never had a main feed and started their SSB presence with a root metafeed), we should still disallow it.

Powersource commented 1 year ago

should we do this in general, i.e. if a user already has a feed with a certain purpose, don't let them do it again? if they're really keen they can make their own library

arj03 commented 1 year ago

Normally we have findOrCreate for what you are saying @Powersource