Fix ActivityPub replies to local comments not threading - #654
Conversation
|
@pfefferle I am trying to debug this problem on my personal homepage. I believe this section is problematic:
Thus, it doesn't return something falsy and thus doesn't go into the fallback. Is this is an oversight? My fix in this PR is to make sure My case in the friends plugin might be even a bit more complicated because I am replying in the Friends backend to a not-ActivityPub enabled post (it was federated in but it's a |
|
@pfefferle maybe you missed this? |
7b3a0cf to
1aa298b
Compare
Summary
?c=NNNURLs, so they arrive as threaded comments on the cached Friends post.url_to_postid()before ActivityPub can fall back tourl_to_commentid().friend_post_cacheposts only while handling the inbound Create activity, while keeping cached posts disabled for the normal ActivityPub post lifecycle.friend_post_cacheposts to use the local Friends URL instead of the external source URL.Test plan
composer test -- --filter ActivityPubTestcomposer check-csTest in WordPress Playground
Changelog
Type
Message
Fix ActivityPub replies to local comments not arriving as threaded comments