mirror of
https://git.sr.ht/~tsileo/microblog.pub
synced 2024-12-22 05:04:27 +00:00
Enable replies to object without conversation/context
This commit is contained in:
parent
51bfc4bd30
commit
47b898bb13
1 changed files with 3 additions and 2 deletions
|
@ -317,7 +317,8 @@ async def send_create(
|
|||
if not in_reply_to_object:
|
||||
raise ValueError(f"Invalid in reply to {in_reply_to=}")
|
||||
if not in_reply_to_object.ap_context:
|
||||
raise ValueError("Object has no context")
|
||||
logger.warning(f"Replied object {in_reply_to} has no context")
|
||||
else:
|
||||
context = in_reply_to_object.ap_context
|
||||
|
||||
if in_reply_to_object.is_from_outbox:
|
||||
|
|
Loading…
Reference in a new issue