Default to TLS only
When Gajim cannot connect with TLS it tries SSL and plain also.
Gajim should only connect with TLS by default.
If user really wants to connect with SSL or plain she can change in ACE.
Change connection_types in src/common/config.py to tls only.
currently if there is no network connection gajim trys to connect to all allowed connection_types this includes PLAIN
if the network connection comes back after gajim tried TLS, it will succeed with PLAIN, and a warning ist shown.
the user wonders why gajim tells him to connect insecure. this happens more often then one would think.
the time between trying to connect to TLS and PLAIN can be up to 3 seconds.
i also think we should remove plain from the connection_types.
a PLAIN connection is only needed today
- if you use a bad xmpp service
- you have your own server and misconfigured, but then you are probably knowledgeable enough to configure a PLAIN connection in gajim.
a second idea i had is, to determine if an internet connection exists before we actually try to connect to the xmpp service.
Thanks. Commit för 0.16-branch, is it already implemented for default?