25
1
mirror of https://github.com/processone/ejabberd.git synced 2024-11-20 16:15:59 +01:00

mod_caps: Fix indentation

This commit is contained in:
Holger Weiss 2018-01-29 00:02:15 +01:00
parent 795efb2ee1
commit d0af61f488

View File

@ -145,16 +145,15 @@ user_receive_packet(Acc) ->
Acc.
-spec caps_stream_features([xmpp_element()], binary()) -> [xmpp_element()].
caps_stream_features(Acc, MyHost) ->
case gen_mod:is_loaded(MyHost, ?MODULE) of
true ->
case make_my_disco_hash(MyHost) of
case make_my_disco_hash(MyHost) of
<<"">> ->
Acc;
Hash ->
Hash ->
[#caps{hash = <<"sha-1">>, node = ?EJABBERD_URI,
version = Hash}|Acc]
version = Hash} | Acc]
end;
false ->
Acc