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:
parent
7726904f79
commit
a16ef68a49
4 changed files with 5 additions and 8 deletions
|
@ -2325,8 +2325,8 @@ 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">>,
|
||||||
|
|
|
@ -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],
|
||||||
|
|
|
@ -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;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue