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

https://docs.joinmastodon.org/entities/RelationshipSeveranceEvent/ is incorrect for relationships_count #1556

Open
nikclayton opened this issue Nov 13, 2024 · 0 comments · May be fixed by #1557

Comments

@nikclayton
Copy link
Contributor

https://docs.joinmastodon.org/entities/RelationshipSeveranceEvent/ describes a relationships_count property.

In actuality this appears to be two properties, one called followers_count and one called following_count, neither of which are documented.

This is the relevant bit of JSON from a notification to a test account on social.tchncs.de (running 4.3.1) after blocking mastodon.social.

        "event": {
            "id": "2",
            "type": "user_domain_block",
            "purged": false,
            "target_name": "mastodon.social",
            "followers_count": 2,
            "following_count": 0,
            "created_at": "2024-11-13T11:31:15.302Z"
        }
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 a pull request may close this issue.

1 participant