Add support for blocking actors
This commit is contained in:
parent
7782a39638
commit
cc086f3264
6 changed files with 148 additions and 4 deletions
|
@ -51,6 +51,8 @@ class Actor(Base, BaseActor):
|
|||
|
||||
handle = Column(String, nullable=True, index=True)
|
||||
|
||||
is_blocked = Column(Boolean, nullable=False, default=False, server_default="0")
|
||||
|
||||
@property
|
||||
def is_from_db(self) -> bool:
|
||||
return True
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue