mirror of
https://github.com/liamcottle/reticulum-meshchat.git
synced 2026-04-27 16:10:32 +00:00
save lxmf message title in db
This commit is contained in:
parent
952f2ea97e
commit
96735c4bac
2 changed files with 5 additions and 0 deletions
|
|
@ -20,6 +20,7 @@ class LxmfMessage(BaseModel):
|
|||
state = CharField() # state is converted from internal int to a human friendly string
|
||||
progress = FloatField() # progress is converted from internal float 0.00-1.00 to float between 0.00/100 (2 decimal places)
|
||||
is_incoming = BooleanField() # if true, we should ignore state, it's set to draft by default on incoming messages
|
||||
title = TextField()
|
||||
content = TextField()
|
||||
fields = TextField() # json string
|
||||
created_at = DateTimeField(default=datetime.now)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue