aboutsummaryrefslogtreecommitdiffstats
path: root/src/empathy-accounts-common.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/empathy-accounts-common.c')
-rw-r--r--src/empathy-accounts-common.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/empathy-accounts-common.c b/src/empathy-accounts-common.c
index 23ea5f508..a08a1ef77 100644
--- a/src/empathy-accounts-common.c
+++ b/src/empathy-accounts-common.c
@@ -138,7 +138,8 @@ empathy_accounts_show_accounts_ui (TpAccountManager *manager,
g_return_if_fail (TP_IS_ACCOUNT_MANAGER (manager));
g_return_if_fail (!account || TP_IS_ACCOUNT (account));
- if (empathy_accounts_has_non_salut_accounts (manager) && !assistant)
+ if ((empathy_accounts_has_non_salut_accounts (manager) && !assistant) ||
+ account != NULL)
{
do_show_accounts_ui (manager, account, window_destroyed_cb);
}