mirror of
https://git.sr.ht/~tsileo/microblog.pub
synced 2024-12-22 05:04:27 +00:00
Fix replies handling
This commit is contained in:
parent
e85f0477cd
commit
669fec0c2b
1 changed files with 1 additions and 1 deletions
|
@ -367,7 +367,7 @@ class MicroblogPubBackend(Backend):
|
|||
)
|
||||
|
||||
logger.info(f"inbox_delete handle_replies obj={obj!r}")
|
||||
in_reply_to = obj.get_in_reply_to()
|
||||
in_reply_to = obj.get_in_reply_to() if obj.inReplyTo else None
|
||||
if delete.get_object().ACTIVITY_TYPE != ap.ActivityType.NOTE:
|
||||
in_reply_to = ap._get_id(
|
||||
DB.activities.find_one(
|
||||
|
|
Loading…
Reference in a new issue