pterotype-project / pterotype

Federated WordPress blogging via ActivityPub
https://getpterotype.com
MIT License
47 stars 4 forks source link

Replies from fediverse are returned as if from instance #8

Open mediaformat opened 6 years ago

mediaformat commented 6 years ago

Here is the scenario:

jdormit commented 6 years ago

So just to be clear, are you seeing duplicate comments? E.g. a Mastodon user posts a reply, which becomes a WordPress comment, which is then posted back to Mastodon as a separate Mastodon reply?

mediaformat commented 6 years ago

Yes, exactly!

See if you can replicate it, by replying to the « new test » toot from @blog@ptero.urbanwildlife.biz

mediaformat commented 6 years ago

4429a688-a75e-42c0-9d31-b44f6a6b1491

jdormit commented 6 years ago

Hey @mediaformat, I left a reply on that post. Once you approve it, let's see if it gets duplicated.

mediaformat commented 6 years ago

Hey, didn't see the reply until just now.

So, there was just your comment there to approve. The minute I approved it though, a second comment was created using your username@ptero.urbaniwildlife.biz as the associated email.

Also of interest, the WP created comments, although remaining unapproved in WP, are visible on Masto. ptero-comments-2

mediaformat commented 6 years ago

I've tried modifying Discussion settings of wordpress. I had the following 2 settings enabled:

Tooted some more replies after disabling them, but it hasn't changed the behaviour.

Also, I've left a Toot on qa.getpterotype.com, might help debug.

jdormit commented 6 years ago

Yup, it definitely got duplicated. Can you confirm the version of Pterotype you are running?

mediaformat commented 6 years ago

Version 1.2.11