Add to field

merge-requests/30/head
Bob Mottram 2021-03-21 12:44:58 +00:00
parent 93ece7036c
commit 7c2405a9a6
1 changed files with 3 additions and 0 deletions

View File

@ -4155,6 +4155,7 @@ def sendMuteViaServer(baseDir: str, session,
"@context": "https://www.w3.org/ns/activitystreams",
'type': 'Ignore',
'actor': actor,
'to': [actor],
'object': mutedUrl
}
@ -4229,9 +4230,11 @@ def sendUndoMuteViaServer(baseDir: str, session,
"@context": "https://www.w3.org/ns/activitystreams",
'type': 'Undo',
'actor': actor,
'to': [actor],
'object': {
'type': 'Ignore',
'actor': actor,
'to': [actor],
'object': mutedUrl
}
}