pmaports/main/telepathy-mission-control/31268fec582776593e54c10c862d9f7af7b3153c.patch
Bhushan Shah 4bbd821d3d
main/telepathy-mission-control: add patch to fix autoconnection (!664)
5.17.x will be released soon with python3 changes, but before it is, for
now let's add this critical bugfix

[ci:skip-build]: already built successfully in CI
2019-10-07 23:34:39 +02:00

23 lines
1,017 B
Diff

From 31268fec582776593e54c10c862d9f7af7b3153c Mon Sep 17 00:00:00 2001
From: Martin Klapetek <martin.klapetek@gmail.com>
Date: Wed, 8 Jul 2015 20:04:57 +0000
Subject: [PATCH] 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));