From 00944910bc7e3ab9530488fe82ffaaaa415fa68c Mon Sep 17 00:00:00 2001 From: mjentsch Date: Mon, 8 Sep 2014 23:09:55 +0200 Subject: [PATCH] Remove pinging --- mtproto-client.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mtproto-client.c b/mtproto-client.c index a43116d..c2f641f 100644 --- a/mtproto-client.c +++ b/mtproto-client.c @@ -1843,7 +1843,7 @@ void mtproto_connect(struct mtproto_connection *c) c->connection->methods->ready(c->connection); // Don't ping TODO: Really? Timeout callback functions of libpurple - start_ping_timer (c->connection); + //start_ping_timer (c->connection); } /** @@ -1859,7 +1859,7 @@ void mtproto_close(struct mtproto_connection *mtp) { send_all_acks (mtp->connection->session); // remove all ping timer that point to this connection - stop_ping_timer (mtp->connection); + //stop_ping_timer (mtp->connection); // mtp->connection->session->c = 0;