]> granicus.if.org Git - ejabberd/commitdiff
Omit 'xmlns' field from 'feature_csi' record
authorHolger Weiss <holger@zedat.fu-berlin.de>
Mon, 4 Jun 2018 21:05:11 +0000 (23:05 +0200)
committerHolger Weiss <holger@zedat.fu-berlin.de>
Mon, 4 Jun 2018 21:05:11 +0000 (23:05 +0200)
The 'xmpp' library has been updated to omit the 'xmlns' field from the
'feature_csi' record.

rebar.config
src/mod_client_state.erl

index b35d676024e5cd672c5c79870d515b924a8f2db7..928d4b403a523008878c41bf5763229951a214ec 100644 (file)
@@ -25,7 +25,7 @@
         {fast_tls, ".*", {git, "https://github.com/processone/fast_tls", {tag, "1.0.22"}}},
         {stringprep, ".*", {git, "https://github.com/processone/stringprep", {tag, "1.0.11"}}},
         {fast_xml, ".*", {git, "https://github.com/processone/fast_xml", {tag, "1.1.30"}}},
-        {xmpp, ".*", {git, "https://github.com/processone/xmpp", "e26a39a"}},
+        {xmpp, ".*", {git, "https://github.com/processone/xmpp", "477ae88"}},
         {fast_yaml, ".*", {git, "https://github.com/processone/fast_yaml", {tag, "1.0.14"}}},
         {jiffy, ".*", {git, "https://github.com/davisp/jiffy", {tag, "0.14.8"}}},
         {p1_oauth2, ".*", {git, "https://github.com/processone/p1_oauth2", {tag, "0.6.3"}}},
index 3ed52bd244470c9e4a2ecbbef49865f6355935fb..a6c7f89c008520f3b4b81e2826d653b2e228445a 100644 (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.