mirror of
https://git.sr.ht/~tsileo/microblog.pub
synced 2024-12-22 05:04:27 +00:00
Actually fix AP object URL prop
This commit is contained in:
parent
61a152f2b7
commit
dedeac994f
1 changed files with 1 additions and 1 deletions
|
@ -129,7 +129,7 @@ class Object:
|
||||||
if u["mediaType"] == "text/html":
|
if u["mediaType"] == "text/html":
|
||||||
return u["href"]
|
return u["href"]
|
||||||
|
|
||||||
return None
|
return self.ap_id
|
||||||
|
|
||||||
@cached_property
|
@cached_property
|
||||||
def content(self) -> str | None:
|
def content(self) -> str | None:
|
||||||
|
|
Loading…
Reference in a new issue