mirror of
https://github.com/liberatedsystems/openCom-Companion.git
synced 2024-11-22 13:30:36 +01:00
Check message db return is not none
This commit is contained in:
parent
69ab910590
commit
074bb4aa4e
@ -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…
Reference in New Issue
Block a user