Commit a7f42ed4 authored by Vincent Castellano's avatar Vincent Castellano

Add missing offset to tgl_do_get_history

parent d89499bf
......@@ -1047,7 +1047,7 @@ void py_do_all (void) {
break;
*/
case pq_history:
PyArg_ParseTuple(args, "iii|O", &peer.type, &peer.id, &limit, &cb_extra);
PyArg_ParseTuple(args, "iiii|O", &peer.type, &peer.id, &offset, &limit, &cb_extra);
tgl_do_get_history (TLS, peer, offset, limit, 0, py_msg_list_cb, cb_extra);
break;
case pq_chat_add_user:
......
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