mirror of
https://github.com/processone/ejabberd.git
synced 2024-11-20 16:15:59 +01:00
Fix bug when getting room config
This commit is contained in:
parent
abc1341b3f
commit
c0afb1f282
@ -3287,7 +3287,7 @@ get_config(Lang, StateData, From) ->
|
|||||||
of
|
of
|
||||||
N when is_integer(N) ->
|
N when is_integer(N) ->
|
||||||
{N,
|
{N,
|
||||||
erlang:integer_to_binary(N)};
|
jlib:integer_to_binary(N)};
|
||||||
_ -> {0, <<"none">>}
|
_ -> {0, <<"none">>}
|
||||||
end,
|
end,
|
||||||
Res = [#xmlel{name = <<"title">>, attrs = [],
|
Res = [#xmlel{name = <<"title">>, attrs = [],
|
||||||
|
Loading…
Reference in New Issue
Block a user