Skip to content

Loss of followers and relays lists #4

@wds4

Description

@wds4

Prerequisites

Expected Behavior

For any profile being managed in this app and simultaneously in one or more external apps, all profile details including relays and following lists should be synced at all times. That means that you can update your profile details, including relays list and following list, in the PGA app or externally, and your profile should sync immediately, everywhere it is located.

Current Behavior

Under certain situations you can inadvertently trigger loss of your following list and relays list.

Currently, syncing does not happen unless you activate a toggle button, which by default is turned off and which may currently be too well hidden, at least for new users.

Steps to reproduce

Enter privkey from external app, do NOT activate the option to sync your profile, and then follow someone. This will broadcast a kind: 3 event with a following list that is now empty (except for the profile you just followed). Updating your relays list using an unsynced profile will likely also trigger this same problem.

Potential Solutions

All of the following under consideration:

  • Set the sync option to "on" by default
  • Always sync by default. Get rid of the option not to sync a profile.
  • For any profile not created locally, disallow changing any profile details unless syncing is already turned on and has completed successfully at least once
  • Perhaps simply deactivate the ability to enter externally provided profiles. Or at least, display big flashy warnings of the danger.
  • Create the option to create a local profile and link it to your external profile in some manner. This may obviate the need to enter your externally derived profile in the first place.

My apologies to anyone who has encountered this error -- please let me know if this has happened to you and I will try to help you recover your lists!

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions