aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/mod_mam/mamprefsxml.lib.lua
diff options
context:
space:
mode:
authorJonas Schäfer <jonas@wielicki.name>2021-09-17 21:18:30 +0200
committerJonas Schäfer <jonas@wielicki.name>2021-09-17 21:18:30 +0200
commit85abab1dfd0e1f919db3130bfd08226184099ac8 (patch)
tree434b910a2cfb1fe6c25aeed223fdaa579c9b9b46 /plugins/mod_mam/mamprefsxml.lib.lua
parent9f7c3b9ba6c2fde4431cd6f3a12072518b478d69 (diff)
downloadprosody-85abab1dfd0e1f919db3130bfd08226184099ac8.tar.gz
prosody-85abab1dfd0e1f919db3130bfd08226184099ac8.zip
mod_tls: Do not offer TLS if the connection is considered secure
This may be necessary if the session.conn object is not exchanged by the network backend when establishing TLS. In that case, the starttls method will always exist and thus that is not a good indicator for offering TLS. However, the secure bit already tells us that TLS has been established or is not to be established on the connection, so we use that instead.
Diffstat (limited to 'plugins/mod_mam/mamprefsxml.lib.lua')
0 files changed, 0 insertions, 0 deletions