mirror of
https://github.com/processone/ejabberd.git
synced 2024-12-20 17:27:00 +01:00
mod_caps: Fix indentation
This commit is contained in:
parent
795efb2ee1
commit
d0af61f488
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user