From 6c943efd9aabd9d0d8674c3c58d2e58efdb412f6 Mon Sep 17 00:00:00 2001 From: Stef Walter Date: Mon, 21 Mar 2011 10:58:31 +0100 Subject: Only add the 'extra-certificate-identities' parameter if gabble supports it. --- libempathy-gtk/empathy-protocol-chooser.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'libempathy-gtk') diff --git a/libempathy-gtk/empathy-protocol-chooser.c b/libempathy-gtk/empathy-protocol-chooser.c index 9bbab1c8e..b2e4314de 100644 --- a/libempathy-gtk/empathy-protocol-chooser.c +++ b/libempathy-gtk/empathy-protocol-chooser.c @@ -604,8 +604,12 @@ empathy_protocol_chooser_create_account_settings (EmpathyProtocolChooser *self) empathy_account_settings_set_strv (settings, "fallback-servers", fallback_servers); - empathy_account_settings_set_strv (settings, - "extra-certificate-identities", extra_certificate_identities); + if (empathy_account_settings_have_tp_param (settings, + "extra-certificate-identities")) + { + empathy_account_settings_set_strv (settings, + "extra-certificate-identities", extra_certificate_identities); + } } else if (!tp_strdiff (service, "facebook")) { -- cgit v1.2.3