-
-
Notifications
You must be signed in to change notification settings - Fork 89
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: replace connectivity state "Connected" with "Preparing"
This better reflects that this state means we just connected and there may me work to do. This state is converted to DC_CONNECTIVITY_WORKING instead of DC_CONNECTIVITY_CONNECTED state now. Before this change when IMAP connected to the server, it switched from DC_CONNECTIVITY_NOT_CONNECTED to DC_CONNECTIVITY_CONNECTING, then to DC_CONNECTIVITY_CONNECTED (actually preparing) then to DC_CONNECTIVITY_WORKING and then to DC_CONNECTIVITY_CONNECTED again (actually idle). On fast connections this resulted in flickering "Connected" string in the status bar right before "Updating..." and on slow connections this "Connected" state before "Updating..." lasted for a while leaving the user to wonder if there are no new messages or if Delta Chat will still switch to "Updating..." before going into "Connected" state again.
- Loading branch information
Showing
3 changed files
with
47 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters