Mercurial > pidgin
diff libpurple/protocols/jabber/libxmpp.c @ 17896:a8420fd18545
Added an option to require SSL or TLS when connecting to an XMPP server.
author | Andreas Monitzer <pidgin@monitzer.com> |
---|---|
date | Sun, 08 Jul 2007 22:52:48 +0000 |
parents | 935005186312 |
children | 5c1ed6296b56 |
line wrap: on
line diff
--- a/libpurple/protocols/jabber/libxmpp.c Sun Jul 08 20:43:53 2007 +0000 +++ b/libpurple/protocols/jabber/libxmpp.c Sun Jul 08 22:52:48 2007 +0000 @@ -201,7 +201,11 @@ split = purple_account_user_split_new(_("Resource"), "Home", '/'); prpl_info.user_splits = g_list_append(prpl_info.user_splits, split); - option = purple_account_option_bool_new(_("Force old (port 5223) SSL"), "old_ssl", FALSE); + option = purple_account_option_bool_new(_("Require SSL/TLS"), "require_tls", FALSE); + prpl_info.protocol_options = g_list_append(prpl_info.protocol_options, + option); + + option = purple_account_option_bool_new(_("Force old (port 5223) SSL"), "old_ssl", FALSE); prpl_info.protocol_options = g_list_append(prpl_info.protocol_options, option);