diff options
-rw-r--r-- | libempathy/empathy-account-settings.c | 9 | ||||
-rw-r--r-- | libempathy/empathy-account-settings.h | 4 |
2 files changed, 13 insertions, 0 deletions
diff --git a/libempathy/empathy-account-settings.c b/libempathy/empathy-account-settings.c index 4005d2790..55af8f8f7 100644 --- a/libempathy/empathy-account-settings.c +++ b/libempathy/empathy-account-settings.c @@ -1785,3 +1785,12 @@ empathy_account_settings_supports_sasl (EmpathyAccountSettings *self) return priv->supports_sasl; } + +gboolean +empathy_account_settings_param_is_supported (EmpathyAccountSettings *self, + const gchar *param) +{ + EmpathyAccountSettingsPriv *priv = GET_PRIV (self); + + return tp_protocol_has_param (priv->protocol_obj, param); +} diff --git a/libempathy/empathy-account-settings.h b/libempathy/empathy-account-settings.h index 25f1d3155..80c30092e 100644 --- a/libempathy/empathy-account-settings.h +++ b/libempathy/empathy-account-settings.h @@ -196,6 +196,10 @@ const TpConnectionManagerProtocol * empathy_account_settings_get_tp_protocol ( gboolean empathy_account_settings_supports_sasl (EmpathyAccountSettings *self); +gboolean empathy_account_settings_param_is_supported ( + EmpathyAccountSettings *self, + const gchar *param); + G_END_DECLS #endif /* #ifndef __EMPATHY_ACCOUNT_SETTINGS_H__*/ |