mirror of
https://github.com/liberatedsystems/openCom-Companion.git
synced 2024-12-01 17:40: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:
|
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"])
|
msg = self.app.sideband.message(m["hash"])
|
||||||
|
|
||||||
|
if msg != None:
|
||||||
delivery_syms = ""
|
delivery_syms = ""
|
||||||
# if msg["extras"] != None and "ratchet_id" in m["extras"]:
|
# if msg["extras"] != None and "ratchet_id" in m["extras"]:
|
||||||
# delivery_syms += " ⚙️"
|
# delivery_syms += " ⚙️"
|
||||||
|
Loading…
Reference in New Issue
Block a user