telepathy-mission-control: Fix autoconnection of accounts with always_dispatch=true

Alexandr Akulich kaffeine at kemper.freedesktop.org
Sun Oct 27 16:01:08 UTC 2019


Module: telepathy-mission-control
Branch: master
Commit: 31268fec582776593e54c10c862d9f7af7b3153c
URL:    http://cgit.freedesktop.org/telepathy/telepathy-mission-control/commit/?id=31268fec582776593e54c10c862d9f7af7b3153c

Author: Martin Klapetek <martin.klapetek at gmail.com>
Date:   Wed Jul  8 20:04:57 2015 +0000

Fix autoconnection of accounts with always_dispatch=true

https://bugs.freedesktop.org/show_bug.cgi?id=91272

---

 src/mcd-account-connection.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/mcd-account-connection.c b/src/mcd-account-connection.c
index 09b3a219..327514de 100644
--- a/src/mcd-account-connection.c
+++ b/src/mcd-account-connection.c
@@ -101,7 +101,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));



More information about the telepathy-commits mailing list