State0#{auth_domains => AuthDomains1};
false ->
State
- end,
+ end,
ejabberd_hooks:run_fold(s2s_in_auth_result, ServerHost, State1, [true, RServer]).
handle_auth_failure(RServer, Mech, Reason,
case Pkt1 of
drop -> ok;
_ -> ejabberd_router:route(Pkt1)
- end,
+ end,
State2;
{error, Err} ->
send(State, Err)
(_) -> false
end, Opts),
TLSOpts2 = case proplists:get_bool(tls_compression, Opts) of
- false -> [compression_none | TLSOpts1];
- true -> TLSOpts1
- end,
+ false -> [compression_none | TLSOpts1];
+ true -> TLSOpts1
+ end,
Timeout = ejabberd_config:negotiation_timeout(),
State1 = State#{tls_options => TLSOpts2,
auth_domains => sets:new(),