Fix LBTC message handling

This commit is contained in:
2022-05-05 22:00:31 +01:00
parent ac7a76a1de
commit bf481ebcee

View File

@@ -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: