mirror of
https://github.com/maubot/maubot
synced 2025-09-07 01:30:38 +00:00
Add option to disable online status for bots
This commit is contained in:
parent
4aada15bbe
commit
798f5da5de
5 changed files with 58 additions and 3 deletions
|
@ -60,6 +60,7 @@ class DBClient(Base):
|
|||
|
||||
sync: bool = Column(Boolean, nullable=False, default=True)
|
||||
autojoin: bool = Column(Boolean, nullable=False, default=True)
|
||||
online: bool = Column(Boolean, nullable=False, default=True)
|
||||
|
||||
displayname: str = Column(String(255), nullable=False, default="")
|
||||
avatar_url: ContentURI = Column(String(255), nullable=False, default="")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue