mirror of
https://git.sr.ht/~tsileo/microblog.pub
synced 2025-06-05 21:59:23 +02:00
Improved audience support and implement featured collection
This commit is contained in:
@ -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:
|
||||
|
Reference in New Issue
Block a user