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

Added endpoint to undo a Repost #306

Merged
merged 3 commits into from
Feb 6, 2025
Merged

Added endpoint to undo a Repost #306

merged 3 commits into from
Feb 6, 2025

Conversation

sagzy
Copy link
Contributor

@sagzy sagzy commented Feb 6, 2025

ref https://linear.app/ghost/issue/AP-707

  • when undoing a Repost, we:
    • create a new Undo activity containing the corresponding Repost/Announce activity to undo
    • send the Undo activity to all followers of the acting user
    • remove the original Announce from the database
    • remove the Announce item from the user's outbox
    • remove the Announce item from the user's reposted collection

ref https://linear.app/ghost/issue/AP-707

- when undoing a Repost, we:
    - create a new Undo activity containing the corresponding Repost/Announce activity to undo
    - send the Undo activity to all followers of the acting user
    - remove the original Announce from the database
    - remove the Announce item from the user's outbox
    - remove the Announce item from the user's reposted collection
@sagzy sagzy marked this pull request as ready for review February 6, 2025 08:56
@sagzy sagzy requested a review from mike182uk February 6, 2025 09:05
@sagzy sagzy merged commit c395ff6 into main Feb 6, 2025
2 checks passed
@sagzy sagzy deleted the undo-repost-api-endpoint branch February 6, 2025 10:25
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.

2 participants