• Joined on 2022-11-15
zotan commented on issue AkkomaGang/akkoma#848 2024-11-02 15:23:28 +00:00
[bug] Custom emoji objects aren't valid JSON-LD

From the discussion in the GH thread, the best way to solve this issue on the akkoma side would be to send out Emoji objects without an id property, instead of setting them to null.

zotan commented on issue AkkomaGang/akkoma#848 2024-11-01 20:24:52 +00:00
[bug] Custom emoji objects aren't valid JSON-LD

I've opened an issue with the W3C: https://github.com/w3c/activitypub/issues/476

zotan commented on pull request AkkomaGang/akkoma#815 2024-11-01 20:21:25 +00:00
Federate emoji as anonymous objects

I'll open an issue, thank you!

zotan opened issue AkkomaGang/akkoma#848 2024-11-01 18:27:08 +00:00
[bug] Custom emoji objects aren't valid JSON-LD
zotan commented on pull request AkkomaGang/akkoma#815 2024-11-01 18:00:06 +00:00
Federate emoji as anonymous objects

Bringing this up with the W3C sounds like the right move. Do you feel like doing this? I can do it if not, but I think you have more experience than me in wording these things.

Btw, how did…

zotan commented on pull request AkkomaGang/akkoma#815 2024-11-01 17:23:47 +00:00
Federate emoji as anonymous objects

I wonder if this is an error in the AP spec

zotan commented on pull request AkkomaGang/akkoma#815 2024-11-01 16:19:05 +00:00
Federate emoji as anonymous objects

Just verified, this is also mentioned in JSON-LD 1.0:

7.4.3) If expanded property is @id and value is not a string, an invalid @id value error has been detected and processing is aborted.…

zotan commented on pull request AkkomaGang/akkoma#815 2024-11-01 16:16:03 +00:00
Federate emoji as anonymous objects

This is definitely not compliant.

zotan commented on pull request AkkomaGang/akkoma#815 2024-11-01 16:15:55 +00:00
Federate emoji as anonymous objects

From the JSON-LD spec:

If expanded property is @id: If value is not a string, an invalid @id value error has been detected and processing is aborted. When the frameExpansion flag is set,…

zotan commented on pull request AkkomaGang/akkoma#815 2024-11-01 16:08:54 +00:00
Federate emoji as anonymous objects

This would make AP explicitly incompatible with JSON-LD 🥴

zotan commented on pull request AkkomaGang/akkoma#815 2024-11-01 16:08:11 +00:00
Federate emoji as anonymous objects

I'm not sure, but all JSON-LD implementations I'm aware of can't parse it, including the official JSON-LD playground

zotan commented on pull request AkkomaGang/akkoma#815 2024-11-01 12:57:46 +00:00
Federate emoji as anonymous objects

The issue is that null and undefined (no id/@id key) are handled differently in JSON-LD. The latter is valid (and how anonymous objects are supposed to work), the former is not, and throws…

zotan commented on pull request AkkomaGang/akkoma#815 2024-11-01 12:50:26 +00:00
Federate emoji as anonymous objects

The specific error is Invalid JSON-LD syntax; "@id" value must a string., verifiable at https://transform.tools/jsonld-to-expanded

zotan commented on pull request AkkomaGang/akkoma#815 2024-11-01 12:50:09 +00:00
Federate emoji as anonymous objects

Context: We've received reports of federation issues with akko.wtf, and I verified that the affected users both have this in their actor objects:

"tag": [
  {
    "id": null
  }
]
zotan commented on pull request AkkomaGang/akkoma#815 2024-11-01 12:48:15 +00:00
Federate emoji as anonymous objects

I think this change is making emoji attachments federate as "id": null, which causes JSON-LD expansion errors. 😬

zotan opened issue AkkomaGang/akkoma#720 2024-03-09 01:15:46 +00:00
[bug]
zotan commented on issue AkkomaGang/akkoma#670 2024-02-17 03:24:04 +00:00
[bug] Detecting public posts is being mishandled

This issue is currently preventing implementations running full json-ld (iceshrimp.net, takahe, ...) from federating with akkoma. The compaction step at the end of JSON-LD processing replaces…