hyphacoop / distributed-press-organizing

15 stars 1 forks source link

Undo must point to URL of object #150

Open fauno opened 3 months ago

fauno commented 3 months ago

Mastodon is embedding the undone activity, so the check for object being a string on performUndo() fails

   {
    @context: "https://www.w3.org/ns/activitystreams"                                                                                   
    id: "https://fedi.sutty.nl/users/fauno#follows/26/undo"                                                                             
    type: "Undo"                                                                                                                        
    actor: "https://fedi.sutty.nl/users/fauno"                                                                                          
    object: {                                                                                                                           
      "id": "https://fedi.sutty.nl/14775d9e-ff69-4a0e-aceb-fe05ab24cfd9",
      "type": "Follow",
      "actor": "https://fedi.sutty.nl/users/fauno",
      "object": "https://skel.sutty.local/about.jsonld"
    }

[19:14:42.246] INFO (1225): Undo must point to URL of object
sutty-coop commented 1 month ago

Asingado a Agus