Skip to content

Deleted First User Breaks Subscriptions #4731

@koboldunderlord

Description

@koboldunderlord

Hello! I discovered a major (yet small) bug breaking remote federation where my first account on the instance has been suspended (such as by deleting themselves), thus breaking subscription requests to other Mastodon servers.

I've fixed this locally by changing the line of code in the SubscribeService for the "some_local_account" method to always point at my account instead of at the first one. (Should be line 45.)

Probably a better fix would be to establish a link to the first admin account, or to filter the accounts by undeleted ones, or whatever else you deem is a good solution.


  • I searched or browsed the repo’s other issues to ensure this is not a duplicate.
  • This bug happens on a tagged release and not on master (If you're a user, don't worry about this). I am on 1.5.1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions