Closed indutny closed 1 year ago
I think what happens is that Link gets serialized without a call to serialize()
method. I'm a total Python noob so not sure if I'll be able to fix it.
Ah, I think I actually know how to fix it!
Here goes the suggested fix: https://github.com/bookwyrm-social/bookwyrm/pull/2452
Describe the bug
When sending a DM or mentioning a user on a custom ActivityPub server (not Maston, and not Bookwyrm) the generate JSON-LD which is being sent to the remote server's inbox contains Mention link that has
"id":null
, which is not valid according to JSON-LD playground:Note the "tag" field of the Note object above.
To Reproduce Steps to reproduce the behavior:
Expected behavior
DM message should be a valid JSON-LD object as per ActivityPub specifcation.
Screenshots
Not applicable.
Instance
https://wyrms.de/
Additional context
The error that I get from JSON-LD playground is: