Commit d89499bf authored by Vincent Castellano's avatar Vincent Castellano

Fix tg-2.0.1 related issues in python bindings

parent e1d65dad
This diff is collapsed.
Subproject commit 76824c29a6dcb424e1109e691d31280a9cbaa954
Subproject commit b3dcce35110f5c995366318c2886065287815d09
......@@ -29,7 +29,7 @@ def history_cb(msg_list, ptype, pid, success, msgs):
msg_list.extend(msgs)
print(len(msg_list))
if len(msgs) == HISTORY_QUERY_SIZE:
tgl.get_history_ext(ptype, pid, len(msg_list), HISTORY_QUERY_SIZE, partial(history_cb, msg_list, ptype, pid));
tgl.get_history(ptype, pid, len(msg_list), HISTORY_QUERY_SIZE, partial(history_cb, msg_list, ptype, pid));
def on_msg_receive(msg):
if msg["out"] and not binlog_done:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment