Automattic / wordpress-activitypub

ActivityPub for WordPress
https://wordpress.org/plugins/activitypub/
MIT License
496 stars 76 forks source link

Deleted WP post remains undeleted on Mastodon #961

Open ethicalrevolution opened 1 month ago

ethicalrevolution commented 1 month ago

Quick summary

There doesn’t appear to be any way to remove a post from Mastodon if the post has been deleted in Wordpress. Instead the Mastodon post remains live even after the post that created it in Wordpress has been deleted.

Steps to reproduce

  1. Create a post in WP.
  2. it becomes a federated post on Mastodon thanks to AP plugin
  3. i delete the post in WP.
  4. it remains undeleted on Mastodon and there is no means to manually delete it.

What you expected to happen

Ideally when the WP post gets deleted this would also delete the Mastodon post it created. Or, if not, it would be good to be able to manage existing Mastodon posts created by the AP plugin and ve able to manually delete it.

What actually happened

Post remained active in Fediverse and so links back to original, now deleted WP post go to a 404.

Impact

One

Available workarounds?

No and the platform is unusable

Logs or notes

No response

pfefferle commented 2 weeks ago

This is how the plugin handles it! Have you deleted the post completely or kept in trash? Because the plugin federates asynchronously, it is important to keep the post in trash for a while until it was federated. Maybe I have to document that somewhere!

ethicalrevolution commented 2 weeks ago

Deleted it completely from Wordpress, with no way of removing it from Mastodon feed. This particular Wordpress site doesn’t actually have a trash. All deleted posts are deleted forever instantly.

pfefferle commented 2 weeks ago

This is bad! I am working on a solution, to that problem but it needs some more weeks to be ready to release: https://github.com/Automattic/wordpress-activitypub/pull/593