Improved audience support and implement featured collection
This commit is contained in:
parent
ff8975acab
commit
4bf54c7040
16 changed files with 284 additions and 37 deletions
|
@ -97,6 +97,14 @@ class Actor:
|
|||
else:
|
||||
return "/static/nopic.png"
|
||||
|
||||
@property
|
||||
def tags(self) -> list[ap.RawObject]:
|
||||
return self.ap_actor.get("tag", [])
|
||||
|
||||
@property
|
||||
def followers_collection_id(self) -> str:
|
||||
return self.ap_actor["followers"]
|
||||
|
||||
|
||||
class RemoteActor(Actor):
|
||||
def __init__(self, ap_actor: ap.RawObject) -> None:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue