[empathy: 5/7] Set require-encryption for Facebook and Google Talk
- From: Will Thompson <wjt src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [empathy: 5/7] Set require-encryption for Facebook and Google Talk
- Date: Tue, 28 Jun 2011 08:14:03 +0000 (UTC)
commit 53a110fcf6a8b697f8d27a8c34b0cccf4db04b24
Author: Will Thompson <will thompson collabora co uk>
Date: Mon Jun 27 17:14:09 2011 +0100
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.
libempathy-gtk/empathy-protocol-chooser.c | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
---
diff --git a/libempathy-gtk/empathy-protocol-chooser.c b/libempathy-gtk/empathy-protocol-chooser.c
index 6a97de6..46188d4 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");
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]