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:
-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;