summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Klapetek <martin.klapetek@gmail.com>2015-07-08 20:04:57 +0000
committerAlexander Akulich <akulichalexander@gmail.com>2019-07-07 01:38:19 +0300
commiteb49d2e9dada57d7a96892f6d3241d8f5684136e (patch)
tree1a957bcd6fac7bdc187ddbcf1a34b39b8b53e625
parentcce7b6a3d2f6ca95e937a16983bb7d6487641be7 (diff)
Fix autoconnection of accounts with always_dispatch=true
https://bugs.freedesktop.org/show_bug.cgi?id=91272
-rw-r--r--src/mcd-account.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mcd-account.c b/src/mcd-account.c
index c44c7081..9927f08f 100644
--- a/src/mcd-account.c
+++ b/src/mcd-account.c
@@ -5087,7 +5087,7 @@ mcd_account_connection_proceed_with_reason (McdAccount *account,
if (success)
{
if (mcd_connectivity_monitor_is_online (
- mcd_account_get_connectivity_monitor (account)))
+ mcd_account_get_connectivity_monitor (account)) || _mcd_account_needs_dispatch (account))
{
DEBUG ("%s wants to connect and we're online - go for it",
mcd_account_get_unique_name (account));