Fix LBTC message handling

master
Mark Veidemanis 2 years ago
parent ac7a76a1de
commit bf481ebcee
Signed by: m
GPG Key ID: 5ACFCEED46C0904F

@ -189,7 +189,7 @@ class Local(util.Base):
return False return False
open_tx = db.get_ref_map().keys() open_tx = db.get_ref_map().keys()
for message in messages["response"]["data"]["message_list"]: for message in messages["response"]["data"]["message_list"]:
contact_id = message["contact_id"] contact_id = str(message["contact_id"])
username = message["sender"]["username"] username = message["sender"]["username"]
msg = message["msg"] msg = message["msg"]
if contact_id not in open_tx: if contact_id not in open_tx:

Loading…
Cancel
Save