mirror of
https://github.com/processone/ejabberd
synced 2025-10-03 01:39:35 +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
|
@ -2286,7 +2286,7 @@ make_result(Binary,
|
|||
Second = proplists:get_value(second, ArgumentsUsed),
|
||||
FirstUrlencoded =
|
||||
list_to_binary(string:replace(
|
||||
misc:url_encode(First), "%40", "@")),
|
||||
misc:url_encode(First), "%40", "@")),
|
||||
{GroupId, Host} =
|
||||
case jid:decode(FirstUrlencoded) of
|
||||
#jid{luser = <<"">>, server = G} ->
|
||||
|
|
|
@ -2325,9 +2325,9 @@ web_page_node(_, Node, #request{path = [<<"stats">>]} = R) ->
|
|||
ejabberd_web_admin,
|
||||
make_command,
|
||||
[stats, R, [{<<"name">>, <<"uptimeseconds">>}], [{only, value}]]),
|
||||
UpDaysBin = integer_to_binary(
|
||||
binary_to_integer(fxml:get_tag_cdata(UpSecs))
|
||||
div 86400), % 24*60*60
|
||||
UpDaysBin =
|
||||
integer_to_binary(binary_to_integer(fxml:get_tag_cdata(UpSecs))
|
||||
div 86400), % 24*60*60
|
||||
UpDays =
|
||||
#xmlel{name = <<"code">>,
|
||||
attrs = [],
|
||||
|
|
|
@ -859,8 +859,6 @@ webadmin_muc_host(_Host,
|
|||
[{table_options, {20, RPath}},
|
||||
{result_links, [{jid, user, 3 + Level, <<"">>}]}])],
|
||||
Title ++ Breadcrumb ++ Get ++ Set;
|
||||
|
||||
|
||||
webadmin_muc_host(_Host,
|
||||
Service,
|
||||
[<<"rooms">>, <<"room">>, Name, <<"history">> | RPath],
|
||||
|
|
|
@ -308,8 +308,7 @@ component_send_packet({#iq{from = From,
|
|||
[]),
|
||||
drop;
|
||||
{_, {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;
|
||||
{_, {error, roster_query, _Err}} ->
|
||||
IQ;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue