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

Alexandr Akulich kaffeine at kemper.freedesktop.org
Sat Jul 6 22:46:19 UTC 2019


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

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.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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));



More information about the telepathy-commits mailing list