From a4049d9418e46f798bfbf9131760ae658c60e110 Mon Sep 17 00:00:00 2001 From: Holger Weiss Date: Mon, 4 Jun 2018 23:05:11 +0200 Subject: [PATCH] Omit 'xmlns' field from 'feature_csi' record The 'xmpp' library has been updated to omit the 'xmlns' field from the 'feature_csi' record. --- rebar.config | 2 +- src/mod_client_state.erl | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/rebar.config b/rebar.config index b35d67602..928d4b403 100644 --- a/rebar.config +++ b/rebar.config @@ -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"}}}, diff --git a/src/mod_client_state.erl b/src/mod_client_state.erl index 3ed52bd24..a6c7f89c0 100644 --- a/src/mod_client_state.erl +++ b/src/mod_client_state.erl @@ -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.