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

Fix legacy gossip #877

Merged
merged 4 commits into from
Sep 30, 2022
Merged

Fix legacy gossip #877

merged 4 commits into from
Sep 30, 2022

Conversation

mplorentz
Copy link
Member

This is a temporary fix for #847. It makes three changes:

  • Planetary will connect to the the Planetary pubs if you have no other pubs or rooms to connect to, even if joinedPlanetarySystem option is false. This fixes the flow where you imported your key into Planetary. When importing a key we automatically set joinedPlanetarySystem to false to prevent auto-publishing of pub messages and forking your feed. However if you have no peers on your local network you have no one to download your own feed from. This should be a temporary fix until we can at least implement Offer to connect to Planetary pubs after key restore #874. Really we need to redo our whole imported key flow.
  • Fixes go-ssb so that it correctly falls back to legacy gossip when a peer does not support EBTs.
  • Prints the AppConfiguration details on launch for easier debugging.

@mplorentz mplorentz changed the title Fix feed restore Fix legacy gossip Sep 29, 2022
@mplorentz mplorentz merged commit 18b742d into main Sep 30, 2022
@mplorentz mplorentz deleted the fix-feed-restore branch September 30, 2022 19:08
mplorentz added a commit that referenced this pull request Oct 1, 2022
mplorentz added a commit that referenced this pull request Oct 3, 2022
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

Successfully merging this pull request may close these issues.

None yet

2 participants