diff options
author | Christophe Romain <christophe.romain@process-one.net> | 2009-08-27 22:23:39 +0000 |
---|---|---|
committer | Christophe Romain <christophe.romain@process-one.net> | 2009-08-27 22:23:39 +0000 |
commit | ff1fc2b4f02a09aca43b9a54a1bdf432d775aa71 (patch) | |
tree | 2f9b055cb189143441f32738d842e3c30594b4ba | |
parent | get odbc subscriptions bugfix (diff) |
reapply previous RSM filtering fix drop by mistake
SVN Revision: 2555
-rw-r--r-- | src/mod_pubsub/mod_pubsub_odbc.erl | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/mod_pubsub/mod_pubsub_odbc.erl b/src/mod_pubsub/mod_pubsub_odbc.erl index 86cc1d007..5bf196dfe 100644 --- a/src/mod_pubsub/mod_pubsub_odbc.erl +++ b/src/mod_pubsub/mod_pubsub_odbc.erl @@ -1093,10 +1093,9 @@ iq_pubsub(Host, ServerHost, From, IQType, SubEl, Lang, Access, Plugins) -> iq_pubsub_owner(Host, ServerHost, From, IQType, SubEl, Lang) -> {xmlelement, _, _, SubEls} = SubEl, - NoRSM = lists:filter(fun({xmlelement, Name, _, _}) -> - Name == "set" - end, SubEls), - Action = xml:remove_cdata(SubEls) -- NoRSM, + Action = lists:filter(fun({xmlelement, "set", _, _}) -> false; + (_) -> true + end, xml:remove_cdata(SubEls)), case Action of [{xmlelement, Name, Attrs, Els}] -> Node = case Host of |