Skip to content

Handle DMs from unknown ActivityPub senders#672

Merged
akirk merged 2 commits into
mainfrom
fix/dm-unknown-senders
Jun 10, 2026
Merged

Handle DMs from unknown ActivityPub senders#672
akirk merged 2 commits into
mainfrom
fix/dm-unknown-senders

Conversation

@akirk

@akirk akirk commented Jun 10, 2026

Copy link
Copy Markdown
Owner

Summary

  • Save private ActivityPub messages from actors you do not follow by creating an inactive sender identity.
  • Allow replying to those inactive ActivityPub DM sender feeds without following them.
  • Add an async follower-status pill to ActivityPub friend profiles so DM deliverability can be checked.

Testing

  • composer check-cs
  • php -l feed-parsers/class-feed-parser-activitypub.php
  • php -l templates/frontend/author-header.php
  • php -l templates/frontend/messages.php
  • node --check friends.js
  • Verified Diego Galvalisi follower status on alex.kirk.at via the new AJAX handler.
Changelog
  • Automatically create a changelog entry from the details below

Type

  • Fixed

Message

Show direct messages from ActivityPub users you do not follow and surface follower status on their profile.

@github-actions

Copy link
Copy Markdown
Contributor

Test this PR in WordPress Playground

You can test this pull request directly in WordPress Playground:

Launch WordPress Playground

This will install and activate the plugin with the changes from this PR.

@akirk akirk merged commit c2caf46 into main Jun 10, 2026
@akirk akirk deleted the fix/dm-unknown-senders branch June 10, 2026 11:19
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.

1 participant