kopia lustrzana https://github.com/tsileo/little-boxes
Remove note source when cleaning it
rodzic
01d325418d
commit
78846a5d26
|
@ -125,7 +125,7 @@ def clean_activity(activity: ObjectType) -> Dict[str, Any]:
|
|||
"""Clean the activity before rendering it.
|
||||
- Remove the hidden bco and bcc field
|
||||
"""
|
||||
for field in ["bto", "bcc"]:
|
||||
for field in ["bto", "bcc", "source"]:
|
||||
if field in activity:
|
||||
del (activity[field])
|
||||
if activity["type"] == "Create" and field in activity["object"]:
|
||||
|
|
Ładowanie…
Reference in New Issue