mirror of
https://git.sr.ht/~tsileo/microblog.pub
synced 2025-06-05 21:59:23 +02:00
Handle out-of-order Delete activity
This commit is contained in:
@ -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,
|
||||
|
Reference in New Issue
Block a user