bridgy icon indicating copy to clipboard operation
bridgy copied to clipboard

Votes on polls cause repeated notifications

Open edent opened this issue 2 years ago • 6 comments

This post is a reply to something which links to my blog:

https://mastodon.social/@Edent/111069219037380638

Every time someone votes on the poll, I get a new WordPress comment.

Screenshot of lots of identical comments.

I suspect because every time there is a vote, the post updates itself? But I'm not really sure.

edent avatar Sep 15 '23 15:09 edent

Ooh, interesting!

You're on the bleeding edge here, Bridgy doesn't officially support polls yet (https://github.com/snarfed/granary/issues/174), but agreed, it shouldn't be doing this regardless. Will look!

snarfed avatar Sep 15 '23 16:09 snarfed

Oh, I excel at causing trouble 😆

edent avatar Sep 15 '23 16:09 edent

Looks like this is from Bridgy Fed, not Bridgy Classic. Following up in https://github.com/snarfed/bridgy-fed/issues/641

snarfed avatar Sep 16 '23 22:09 snarfed

Hey @dshanske, the WordPress plugin supposedly added de-duplication in https://github.com/pfefferle/wordpress-webmention/issues/267 / https://github.com/pfefferle/wordpress-webmention/pull/386, but has it maybe regressed? These duplicate comments ^ have different source URLs, but they all have the same u-url. Example:

  • source URL: https://ap.brid.gy/convert/web/https:/mastodon.social/users/Edent/statuses/111069219037380638%23updates/1694783012
  • u-url: https://mastodon.social/@Edent/111069219037380638
  • parsed mf2: https://pin13.net/mf2/?url=https://ap.brid.gy/convert/web/https:/mastodon.social/users/Edent/statuses/111069219037380638%23updates/1694783012

More on de-duping: https://indieweb.org/deduplication

snarfed avatar Sep 17 '23 00:09 snarfed

@dshanske friendly ping?

snarfed avatar Oct 25 '23 23:10 snarfed

I have a few Issues I'm investigating, but anything pre 5.0...we rewrote the code from scratch...we did add tests... but we might need more for this scenario.

dshanske avatar Oct 26 '23 00:10 dshanske