diff options
-rw-r--r-- | src/empathy-accounts-dialog.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/empathy-accounts-dialog.c b/src/empathy-accounts-dialog.c index 69bb110be..c1f386b57 100644 --- a/src/empathy-accounts-dialog.c +++ b/src/empathy-accounts-dialog.c @@ -232,6 +232,11 @@ accounts_dialog_update_status_infobar (EmpathyAccountsDialog *dialog, * are connected, consider ourself as Available. * We also check Offline because of this MC5 bug: fd.o #26060 */ presence = TP_CONNECTION_PRESENCE_TYPE_AVAILABLE; + + /* set presence to offline if account is disabled + * (else no icon is shown in infobar)*/ + if (!account_enabled) + presence = TP_CONNECTION_PRESENCE_TYPE_OFFLINE; } else { |