1
0
Fork 0
mirror of https://github.com/processone/ejabberd synced 2025-10-06 03:50:15 +02:00

Omit 'xmlns' field from 'feature_csi' record

The 'xmpp' library has been updated to omit the 'xmlns' field from the
'feature_csi' record.
This commit is contained in:
Holger Weiss 2018-06-04 23:05:11 +02:00
parent ba30ac8ce8
commit a4049d9418
2 changed files with 2 additions and 2 deletions

View file

@ -293,7 +293,7 @@ filter_other(Acc) ->
add_stream_feature(Features, Host) ->
case gen_mod:is_loaded(Host, ?MODULE) of
true ->
[#feature_csi{xmlns = <<"urn:xmpp:csi:0">>} | Features];
[#feature_csi{} | Features];
false ->
Features
end.