Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/majn/tgl.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorkenorb <kenorb@users.noreply.github.com>2019-02-02 21:50:12 +0300
committerkenorb <kenorb@users.noreply.github.com>2019-02-02 21:50:12 +0300
commit588b7b67acce9d0e2ff3b4e766c4fc9071e6750c (patch)
tree196922974d34fc19f087149b8d3fb96bd5642f7b
parent2db07def5a6037312f0d8229db4bc0c11c35dd61 (diff)
parentd1dca8e6c17473472a83eeb0d97915803b27180d (diff)
Merge branch 'master' of https://github.com/ultimatesolution/tgl
-rw-r--r--queries.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/queries.c b/queries.c
index 24b28eb..5f90865 100644
--- a/queries.c
+++ b/queries.c
@@ -2129,7 +2129,7 @@ static void _tgl_do_send_photo (struct tgl_state *TLS, tgl_peer_id_t to_id, cons
}
} else {
if (callback) {
- ((void (*)(struct tgl_state *, void *, int))callback) (TLS, callback_extra, 0);
+ ((void (*)(struct tgl_state *, void *, int, struct tgl_message*))callback) (TLS, callback_extra, 0, NULL);
}
}
return;
@@ -2146,7 +2146,7 @@ static void _tgl_do_send_photo (struct tgl_state *TLS, tgl_peer_id_t to_id, cons
}
} else {
if (callback) {
- ((void (*)(struct tgl_state *, void *, int))callback) (TLS, callback_extra, 0);
+ ((void (*)(struct tgl_state *, void *, int, struct tgl_message*))callback) (TLS, callback_extra, 0, NULL);
}
}
return;
@@ -2179,7 +2179,7 @@ static void _tgl_do_send_photo (struct tgl_state *TLS, tgl_peer_id_t to_id, cons
}
} else {
if (callback) {
- ((void (*)(struct tgl_state *, void *, int))callback) (TLS, callback_extra, 0);
+ ((void (*)(struct tgl_state *, void *, int, struct tgl_message*))callback) (TLS, callback_extra, 0, NULL);
}
}
return;