1
0
mirror of https://git.sr.ht/~tsileo/microblog.pub synced 2025-06-05 21:59:23 +02:00

Fix issue with actors without followers/following collection

This commit is contained in:
Thomas Sileo
2022-07-04 22:16:07 +02:00
parent 5eba16751a
commit 9012356a19
2 changed files with 3 additions and 3 deletions

View File

@ -103,8 +103,8 @@ class Actor:
return self.ap_actor.get("tag", [])
@property
def followers_collection_id(self) -> str:
return self.ap_actor["followers"]
def followers_collection_id(self) -> str | None:
return self.ap_actor.get("followers")
class RemoteActor(Actor):