mirror of
https://github.com/processone/ejabberd
synced 2025-10-03 01:39:35 +02:00
mod_caps: Fix indentation
This commit is contained in:
parent
795efb2ee1
commit
d0af61f488
1 changed files with 3 additions and 4 deletions
|
@ -145,16 +145,15 @@ user_receive_packet(Acc) ->
|
||||||
Acc.
|
Acc.
|
||||||
|
|
||||||
-spec caps_stream_features([xmpp_element()], binary()) -> [xmpp_element()].
|
-spec caps_stream_features([xmpp_element()], binary()) -> [xmpp_element()].
|
||||||
|
|
||||||
caps_stream_features(Acc, MyHost) ->
|
caps_stream_features(Acc, MyHost) ->
|
||||||
case gen_mod:is_loaded(MyHost, ?MODULE) of
|
case gen_mod:is_loaded(MyHost, ?MODULE) of
|
||||||
true ->
|
true ->
|
||||||
case make_my_disco_hash(MyHost) of
|
case make_my_disco_hash(MyHost) of
|
||||||
<<"">> ->
|
<<"">> ->
|
||||||
Acc;
|
Acc;
|
||||||
Hash ->
|
Hash ->
|
||||||
[#caps{hash = <<"sha-1">>, node = ?EJABBERD_URI,
|
[#caps{hash = <<"sha-1">>, node = ?EJABBERD_URI,
|
||||||
version = Hash}|Acc]
|
version = Hash} | Acc]
|
||||||
end;
|
end;
|
||||||
false ->
|
false ->
|
||||||
Acc
|
Acc
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue