UI improvements
This commit is contained in:
parent
f66e3f3995
commit
4f1b51f7d5
15 changed files with 145 additions and 52 deletions
|
@ -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"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue