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:
parent
94b4390c8c
commit
c1ab317f1b
1 changed files with 1 additions and 0 deletions
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue