Fix LBTC message handling
This commit is contained in:
parent
ac7a76a1de
commit
bf481ebcee
|
@ -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…
Reference in New Issue