mirror of
https://codeberg.org/rimu/pyfedi
synced 2025-01-23 19:36:56 -08:00
Remove @context from inner Announce object before sending out
This commit is contained in:
parent
31db4ecb00
commit
dd0646f1aa
1 changed files with 3 additions and 0 deletions
|
@ -1066,6 +1066,9 @@ def process_delete_request(request_json, activitypublog_id, ip_address):
|
|||
|
||||
|
||||
def announce_activity_to_followers(community, creator, activity):
|
||||
# remove context from what will be inner object
|
||||
del activity["@context"]
|
||||
|
||||
announce_activity = {
|
||||
'@context': default_context(),
|
||||
"actor": community.profile_id(),
|
||||
|
|
Loading…
Add table
Reference in a new issue