1
0
Fork 0
mirror of https://github.com/processone/ejabberd synced 2025-10-03 09:49:18 +02:00

Result of running "make format"

This commit is contained in:
Badlop 2024-12-17 11:59:48 +01:00
parent 7726904f79
commit a16ef68a49
4 changed files with 5 additions and 8 deletions

View file

@ -2286,7 +2286,7 @@ make_result(Binary,
Second = proplists:get_value(second, ArgumentsUsed), Second = proplists:get_value(second, ArgumentsUsed),
FirstUrlencoded = FirstUrlencoded =
list_to_binary(string:replace( list_to_binary(string:replace(
misc:url_encode(First), "%40", "@")), misc:url_encode(First), "%40", "@")),
{GroupId, Host} = {GroupId, Host} =
case jid:decode(FirstUrlencoded) of case jid:decode(FirstUrlencoded) of
#jid{luser = <<"">>, server = G} -> #jid{luser = <<"">>, server = G} ->

View file

@ -2325,9 +2325,9 @@ web_page_node(_, Node, #request{path = [<<"stats">>]} = R) ->
ejabberd_web_admin, ejabberd_web_admin,
make_command, make_command,
[stats, R, [{<<"name">>, <<"uptimeseconds">>}], [{only, value}]]), [stats, R, [{<<"name">>, <<"uptimeseconds">>}], [{only, value}]]),
UpDaysBin = integer_to_binary( UpDaysBin =
binary_to_integer(fxml:get_tag_cdata(UpSecs)) integer_to_binary(binary_to_integer(fxml:get_tag_cdata(UpSecs))
div 86400), % 24*60*60 div 86400), % 24*60*60
UpDays = UpDays =
#xmlel{name = <<"code">>, #xmlel{name = <<"code">>,
attrs = [], attrs = [],

View file

@ -859,8 +859,6 @@ webadmin_muc_host(_Host,
[{table_options, {20, RPath}}, [{table_options, {20, RPath}},
{result_links, [{jid, user, 3 + Level, <<"">>}]}])], {result_links, [{jid, user, 3 + Level, <<"">>}]}])],
Title ++ Breadcrumb ++ Get ++ Set; Title ++ Breadcrumb ++ Get ++ Set;
webadmin_muc_host(_Host, webadmin_muc_host(_Host,
Service, Service,
[<<"rooms">>, <<"room">>, Name, <<"history">> | RPath], [<<"rooms">>, <<"room">>, Name, <<"history">> | RPath],

View file

@ -308,8 +308,7 @@ component_send_packet({#iq{from = From,
[]), []),
drop; drop;
{_, {error, no_privileged_iq, _Err}} -> {_, {error, no_privileged_iq, _Err}} ->
?INFO_MSG("IQ not forwarded: Component tried to send not wrapped IQ stanza.", ?INFO_MSG("IQ not forwarded: Component tried to send not wrapped IQ stanza.", []),
[]),
drop; drop;
{_, {error, roster_query, _Err}} -> {_, {error, roster_query, _Err}} ->
IQ; IQ;