Closed kylewm closed 9 years ago
This change started including inReplyTo in both the object and context: https://github.com/snarfed/granary/commit/b0ad8c37128c815936a7193ddc2959c0cbcd72f5
microformats2 conversion collects inReplyTo from both, so we predictably get doubles. The microformats conversion should probably pull from object.get('inReplyTo', context.get('inReplyTo', []))
instead of adding them together
ooh good catch, thanks! sgtm.
thinking about this more, another idea would be to merge and de-dupe both. they're probably only different in practice very rarely, though, and i expect never when we generated the AS ourselves - the common case - so probably not worth it.
I don't think context
and inReplyTo
are even defined in AS1, and agree it's probably not worth going out of our way to support arbitrary input on those.
In the last week or so, I've noticed Twitter posts have started showing up with duplicated in-reply-to links:
I haven't looked into what's causing this yet