mirror of
https://github.com/processone/ejabberd.git
synced 2024-11-22 16:20:52 +01:00
Fix xmlcdata binary content
This commit is contained in:
parent
3b7449fb92
commit
dd69d47543
@ -1233,7 +1233,7 @@ iq_disco_info_extras2(SenderT, SLimits) ->
|
|||||||
%% Report only custom limits
|
%% Report only custom limits
|
||||||
case get_limit_number(Type_of_stanza, Limits) of
|
case get_limit_number(Type_of_stanza, Limits) of
|
||||||
{custom, Number} ->
|
{custom, Number} ->
|
||||||
[?RFIELDV(to_string(Type_of_stanza), to_string(Number)) | R];
|
[?RFIELDV(to_string(Type_of_stanza), list_to_binary(to_string(Number))) | R];
|
||||||
{default, _} -> R
|
{default, _} -> R
|
||||||
end
|
end
|
||||||
end,
|
end,
|
||||||
|
Loading…
Reference in New Issue
Block a user