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

Auto start start() #37

Open
Powersource opened this issue Nov 16, 2022 · 1 comment
Open

Auto start start() #37

Powersource opened this issue Nov 16, 2022 · 1 comment

Comments

@Powersource
Copy link
Collaborator

When writing tests I always forget to run start() and I think users will too. Could do like other plugins and have an option to disable autostart

@staltz
Copy link
Member

staltz commented Nov 16, 2022

We also spoke on a video call that we need to document (with lots of warnings) that start() will automatically findOrCreate an invitations feed on your metafeed tree. This could be a problem if you're recovering your SSB data from backup, in the sense that it could create a fork (if you happen to call tribes2.start() before all data has been synced).

Either that, or we decouple invitations-feed-creation from start(). But that sounds to me like there would be two "start" functions: one for monitoring the additions (other people publishing on their invitations feed) and another function for setting up your invitations feed (so you can invite others).

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

2 participants