mirror of https://gitlab.com/bashrc2/epicyon
Add to field
parent
93ece7036c
commit
7c2405a9a6
3
posts.py
3
posts.py
|
@ -4155,6 +4155,7 @@ def sendMuteViaServer(baseDir: str, session,
|
||||||
"@context": "https://www.w3.org/ns/activitystreams",
|
"@context": "https://www.w3.org/ns/activitystreams",
|
||||||
'type': 'Ignore',
|
'type': 'Ignore',
|
||||||
'actor': actor,
|
'actor': actor,
|
||||||
|
'to': [actor],
|
||||||
'object': mutedUrl
|
'object': mutedUrl
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -4229,9 +4230,11 @@ def sendUndoMuteViaServer(baseDir: str, session,
|
||||||
"@context": "https://www.w3.org/ns/activitystreams",
|
"@context": "https://www.w3.org/ns/activitystreams",
|
||||||
'type': 'Undo',
|
'type': 'Undo',
|
||||||
'actor': actor,
|
'actor': actor,
|
||||||
|
'to': [actor],
|
||||||
'object': {
|
'object': {
|
||||||
'type': 'Ignore',
|
'type': 'Ignore',
|
||||||
'actor': actor,
|
'actor': actor,
|
||||||
|
'to': [actor],
|
||||||
'object': mutedUrl
|
'object': mutedUrl
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue