Add to field for bookmark remove

merge-requests/30/head
Bob Mottram 2021-03-20 14:32:25 +00:00
parent 247bb06ba5
commit 2f4aa7bb3e
1 changed files with 3 additions and 1 deletions

View File

@ -450,9 +450,11 @@ def sendUndoBookmarkViaServer(baseDir: str, session,
"@context": "https://www.w3.org/ns/activitystreams",
"type": "Remove",
"actor": actor,
"to": [actor],
"object": {
"type": "Document",
"url": bookmarkUrl
"url": bookmarkUrl,
"to": [actor]
},
"target": actor + "/tlbookmarks"
}