UI improvements

This commit is contained in:
Thomas Sileo 2022-06-25 10:20:07 +02:00
parent f66e3f3995
commit 4f1b51f7d5
15 changed files with 145 additions and 52 deletions

View file

@ -114,6 +114,14 @@ class InboxObject(Base, BaseObject):
else:
return None
@property
def is_from_db(self) -> bool:
return True
@property
def is_from_inbox(self) -> bool:
return True
class OutboxObject(Base, BaseObject):
__tablename__ = "outbox"
@ -221,6 +229,14 @@ class OutboxObject(Base, BaseObject):
else:
return None
@property
def is_from_db(self) -> bool:
return True
@property
def is_from_outbox(self) -> bool:
return True
class Follower(Base):
__tablename__ = "follower"