mirror of
https://github.com/markqvist/Sideband.git
synced 2025-07-21 06:04:12 -04:00
Check message db return is not none
This commit is contained in:
parent
69ab910590
commit
074bb4aa4e
1 changed files with 84 additions and 83 deletions
|
@ -249,6 +249,7 @@ class Messages():
|
|||
if m["state"] == LXMF.LXMessage.SENDING or m["state"] == LXMF.LXMessage.OUTBOUND or m["state"] == LXMF.LXMessage.SENT:
|
||||
msg = self.app.sideband.message(m["hash"])
|
||||
|
||||
if msg != None:
|
||||
delivery_syms = ""
|
||||
# if msg["extras"] != None and "ratchet_id" in m["extras"]:
|
||||
# delivery_syms += " ⚙️"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue