bookwyrm-social / bookwyrm

Social reading and reviewing, decentralized with ActivityPub
http://joinbookwyrm.com/
Other
2.2k stars 256 forks source link

Status Updates Not Syncing Properly with Friendica #2041

Open jlamothe opened 2 years ago

jlamothe commented 2 years ago

Describe the bug I've been having issues getting status updates to synchronize with Friendica. Some will, but others won't.

To Reproduce Steps to reproduce the behavior:

  1. Sign into a Frienica account.
  2. Put the following URL into the search bar (this one will work): https://bookwyrm.social/user/jlamothe/generatednote/95465#anchor-95465
  3. Try the same with the following URL (this one will not work): https://bookwyrm.social/user/jlamothe/generatednote/97164#anchor-97164

Expected behavior It is expected that the post will be shown with its URL is being searched for, instead I get "no results".

Screenshots If applicable, add screenshots to help explain your problem.

Instance bookwyrm.social

Additional context Add any other context about the problem here.


Desktop (please complete the following information):

Smartphone (please complete the following information):

mouse-reeve commented 2 years ago

BookWyrm has a handful of custom activitypub types, which serialize out to other services as standard activitypub objects, like Note or Article (in this case both items are notes). It's helpful to know what is working -- the reading goal is serialized as a no-frills note whereas the reading status update has tags and attachments that may be leading to issues. I wonder if the null fields may be the source of the issue here, or that the custom type Edition is in use?

  "tag": [
    {
      "id": null,
      "type": "Edition",
      "href": "https://bookwyrm.social/book/355987",
      "name": "The Apollo Murders",
      "mediaType": null,
      "attributedTo": null,
      "availability": null
    }
  ],
  "attachment": [
    {
      "id": null,
      "type": "Document",
      "url": "https://bookwyrm-social.sfo3.digitaloceanspaces.com/images/previews/covers/355987-afa1d41b-3e5e-48a1-b7fc-69c69eab45b6.jpg",
      "name": "The Apollo Murders (Hardcover, Random House Canada)"
    }
  ],