Follow up to #1963 - changed default behaviour back to only disable ssl if ssl param is explicit false to keep backward compatibility of old channel settings.
This commit is contained in:
parent
54eab60f6e
commit
43c38dcd97
1 changed files with 4 additions and 1 deletions
|
@ -70,7 +70,10 @@ example
|
|||
keep_on_server = true
|
||||
end
|
||||
|
||||
ssl = options.key?(:ssl) && options[:ssl] == true
|
||||
if options.key?(:ssl) && options[:ssl] == false
|
||||
ssl = false
|
||||
port = 143
|
||||
end
|
||||
|
||||
port = if options.key?(:port) && options[:port].present?
|
||||
options[:port].to_i
|
||||
|
|
Loading…
Reference in a new issue