Fix admin in reply to link
This commit is contained in:
parent
5f20eab3f1
commit
d5c27287af
2 changed files with 8 additions and 1 deletions
|
@ -208,6 +208,13 @@ class Object:
|
|||
def in_reply_to(self) -> str | None:
|
||||
return self.ap_object.get("inReplyTo")
|
||||
|
||||
@property
|
||||
def is_in_reply_to_from_inbox(self) -> bool | None:
|
||||
if not self.in_reply_to:
|
||||
return None
|
||||
|
||||
return not self.in_reply_to.startswith(LOCAL_ACTOR.ap_id)
|
||||
|
||||
@property
|
||||
def has_ld_signature(self) -> bool:
|
||||
return bool(self.ap_object.get("signature"))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue