Handle out-of-order Delete activity
This commit is contained in:
parent
23832574bc
commit
064921fdd1
5 changed files with 222 additions and 19 deletions
|
@ -261,7 +261,7 @@ async def get_object(activity: RawObject) -> RawObject:
|
|||
|
||||
|
||||
def wrap_object(activity: RawObject) -> RawObject:
|
||||
# TODO(ts): improve Create VS Update
|
||||
# TODO(tsileo): improve Create VS Update with a `update=True` flag
|
||||
if "updated" in activity:
|
||||
return {
|
||||
"@context": AS_EXTENDED_CTX,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue