Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feedpurpose validation: disallow "main" #109

Open
staltz opened this issue Nov 11, 2022 · 2 comments
Open

feedpurpose validation: disallow "main" #109

staltz opened this issue Nov 11, 2022 · 2 comments

Comments

@staltz
Copy link
Member

staltz commented Nov 11, 2022

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
Copy link
Collaborator

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
Copy link
Member

arj03 commented Apr 5, 2023

Normally we have findOrCreate for what you are saying @Powersource

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants