mirror of
https://github.com/markqvist/Sideband.git
synced 2024-10-01 03:15:37 -04: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