aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy
diff options
context:
space:
mode:
authorStef Walter <stefw@collabora.co.uk>2011-03-22 23:08:34 +0800
committerStef Walter <stefw@collabora.co.uk>2011-03-22 23:08:34 +0800
commitd5ee1dea31080835f3c1ca091c58769fc989b037 (patch)
tree6fe216c1e57f9b01e8b9ecb76b5cac4ad88216dc /libempathy
parentaf15e92f0ae08e321a46e21e92500bf47d060b44 (diff)
downloadgsoc2013-empathy-d5ee1dea31080835f3c1ca091c58769fc989b037.tar
gsoc2013-empathy-d5ee1dea31080835f3c1ca091c58769fc989b037.tar.gz
gsoc2013-empathy-d5ee1dea31080835f3c1ca091c58769fc989b037.tar.bz2
gsoc2013-empathy-d5ee1dea31080835f3c1ca091c58769fc989b037.tar.lz
gsoc2013-empathy-d5ee1dea31080835f3c1ca091c58769fc989b037.tar.xz
gsoc2013-empathy-d5ee1dea31080835f3c1ca091c58769fc989b037.tar.zst
gsoc2013-empathy-d5ee1dea31080835f3c1ca091c58769fc989b037.zip
Only add the 'extra-certificate-identities' parameter if gabble supports it.
Diffstat (limited to 'libempathy')
-rw-r--r--libempathy/empathy-account-settings.c7
-rw-r--r--libempathy/empathy-account-settings.h4
2 files changed, 11 insertions, 0 deletions
diff --git a/libempathy/empathy-account-settings.c b/libempathy/empathy-account-settings.c
index 2a9afabb3..fccc58e33 100644
--- a/libempathy/empathy-account-settings.c
+++ b/libempathy/empathy-account-settings.c
@@ -756,6 +756,13 @@ empathy_account_settings_get_tp_param (EmpathyAccountSettings *settings,
return NULL;
}
+gboolean
+empathy_account_settings_have_tp_param (EmpathyAccountSettings *settings,
+ const gchar *param)
+{
+ return (empathy_account_settings_get_tp_param (settings, param) != NULL);
+}
+
static void
account_settings_remove_from_unset (EmpathyAccountSettings *settings,
const gchar *param)
diff --git a/libempathy/empathy-account-settings.h b/libempathy/empathy-account-settings.h
index 3a2264e28..e02854ada 100644
--- a/libempathy/empathy-account-settings.h
+++ b/libempathy/empathy-account-settings.h
@@ -83,6 +83,10 @@ gboolean empathy_account_settings_has_account (
TpConnectionManagerParam *empathy_account_settings_get_tp_params (
EmpathyAccountSettings *settings);
+gboolean empathy_account_settings_have_tp_param (
+ EmpathyAccountSettings *settings,
+ const gchar *param);
+
void empathy_account_settings_unset (EmpathyAccountSettings *settings,
const gchar *param);