aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWill Thompson <will.thompson@collabora.co.uk>2011-06-28 00:14:09 +0800
committerWill Thompson <will.thompson@collabora.co.uk>2011-06-28 00:49:07 +0800
commit53a110fcf6a8b697f8d27a8c34b0cccf4db04b24 (patch)
treec4aa9dba39644de26c5b82d119693a8b85aabdf6
parent60d6f85f560b4c958085c8f759f519363a05e779 (diff)
downloadgsoc2013-empathy-53a110fcf6a8b697f8d27a8c34b0cccf4db04b24.tar
gsoc2013-empathy-53a110fcf6a8b697f8d27a8c34b0cccf4db04b24.tar.gz
gsoc2013-empathy-53a110fcf6a8b697f8d27a8c34b0cccf4db04b24.tar.bz2
gsoc2013-empathy-53a110fcf6a8b697f8d27a8c34b0cccf4db04b24.tar.lz
gsoc2013-empathy-53a110fcf6a8b697f8d27a8c34b0cccf4db04b24.tar.xz
gsoc2013-empathy-53a110fcf6a8b697f8d27a8c34b0cccf4db04b24.tar.zst
gsoc2013-empathy-53a110fcf6a8b697f8d27a8c34b0cccf4db04b24.zip
Set require-encryption for Facebook and Google Talk
Future versions of Gabble will do this too, but Empathy can make sure it's set too.
-rw-r--r--libempathy-gtk/empathy-protocol-chooser.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/libempathy-gtk/empathy-protocol-chooser.c b/libempathy-gtk/empathy-protocol-chooser.c
index 6a97de64c..46188d499 100644
--- a/libempathy-gtk/empathy-protocol-chooser.c
+++ b/libempathy-gtk/empathy-protocol-chooser.c
@@ -602,6 +602,8 @@ empathy_protocol_chooser_create_account_settings (EmpathyProtocolChooser *self)
NULL, NULL);
empathy_account_settings_set_string (settings, "server",
extra_certificate_identities[0]);
+ empathy_account_settings_set_boolean (settings, "require-encryption",
+ TRUE);
empathy_account_settings_set_strv (settings, "fallback-servers",
fallback_servers);
@@ -616,7 +618,8 @@ empathy_protocol_chooser_create_account_settings (EmpathyProtocolChooser *self)
{
empathy_account_settings_set_icon_name_async (settings, "im-facebook",
NULL, NULL);
-
+ empathy_account_settings_set_boolean (settings, "require-encryption",
+ TRUE);
empathy_account_settings_set_string (settings, "server",
"chat.facebook.com");
}