Treat ConnectivityManager errors as failure rather than unreachable
This lets the errors get reported to the user.
This commit is contained in:
parent
68f31e0e59
commit
fb6e6383ea
1 changed files with 1 additions and 2 deletions
|
|
@ -439,10 +439,9 @@ public abstract class Geary.ClientService : BaseObject {
|
|||
|
||||
private void on_connectivity_error(Error error) {
|
||||
if (this.is_running) {
|
||||
this.current_status = CONNECTION_FAILED;
|
||||
this.became_reachable_timer.reset();
|
||||
this.became_unreachable_timer.reset();
|
||||
became_unreachable();
|
||||
notify_connection_failed(new ErrorContext(error));
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue