Implement mark_read
This commit is contained in:
parent
3c32cba05e
commit
5131593da4
@ -1069,9 +1069,12 @@ void py_do_all (void) {
|
||||
case pq_global_search:
|
||||
tgl_do_msg_search (TLS, tgl_set_peer_id (TGL_PEER_UNKNOWN, 0), 0, 0, 40, 0, s, py_msg_list_cb, py_ptr[p]);
|
||||
break;
|
||||
*/
|
||||
case pq_mark_read:
|
||||
tgl_do_mark_read (TLS, ((tgl_peer_t *)py_ptr[p + 1])->id, py_empty_cb, py_ptr[p]);
|
||||
PyArg_ParseTuple(args, "iiO", &peer.type, &peer.id, &cb_extra);
|
||||
tgl_do_mark_read (TLS, peer, py_empty_cb, cb_extra);
|
||||
break;
|
||||
/*
|
||||
case pq_set_profile_photo:
|
||||
tgl_do_set_profile_photo (TLS, s, py_empty_cb, py_ptr[p]);
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user