pfefferle / wordpress-webmention

A Webmention plugin for WordPress
https://wordpress.org/plugins/webmention/
MIT License
117 stars 31 forks source link

Interpreting Response Markup as a Response #444

Closed dshanske closed 9 months ago

dshanske commented 9 months ago

@snarfed reported https://chat.indieweb.org/dev/2023-12-20/1703111490653600

Now, this code interprets that as a like because of the class mapper

https://github.com/pfefferle/wordpress-webmention/blob/main/includes/Handler/class-mf2.php#L595

repost, like, favorite, bookmark, read, listen, watch, reply are used to mark up incoming for display, example: https://indieweb.org/like#receive_and_markup_incoming_likes

So, we shouldn't use them in the mapping to represent our like type for example, because the source didn't like the target, the target liked the source.

The second problem here is how exactly we do interpret when someone sends us a webmention that is in the responses part of a post? Because it is meant to be an indication that the thing @snarfed responded to has updated. How do we interpret that?