Error connection instead of reconnecting

Reconnection attempts are expected to be handled by libpurple and not by the protocol plugin, so it is visible to the user when the connection is not working.
This commit is contained in:
mjentsch 2014-12-31 16:17:11 +01:00
parent 94b4390c8c
commit c1ab317f1b

View file

@ -349,6 +349,7 @@ static void restart_connection (struct connection *c) {
}
connection_data *conn = TLS->ev_base;
purple_connection_error_reason (conn->gc, PURPLE_CONNECTION_ERROR_NETWORK_ERROR, "Lost connection with server");
// c->prpl_data = purple_proxy_connect (conn->gc, conn->pa, c->ip, c->port, net_on_connected, c);
}