24
1
mirror of https://github.com/processone/ejabberd.git synced 2024-06-26 22:35:31 +02:00
SVN Revision: 2549
This commit is contained in:
Christophe Romain 2009-08-27 09:44:03 +00:00
parent 2425c51ae4
commit 054ad379ce

View File

@ -1093,7 +1093,7 @@ iq_pubsub(Host, ServerHost, From, IQType, SubEl, Lang, Access, Plugins) ->
iq_pubsub_owner(Host, ServerHost, From, IQType, SubEl, Lang) -> iq_pubsub_owner(Host, ServerHost, From, IQType, SubEl, Lang) ->
{xmlelement, _, _, SubEls} = SubEl, {xmlelement, _, _, SubEls} = SubEl,
Action = lists:filter(fun({xmlelement, "set", _, _}) -> false Action = lists:filter(fun({xmlelement, "set", _, _}) -> false;
(_) -> true (_) -> true
end, xml:remove_cdata(SubEls)), end, xml:remove_cdata(SubEls)),
case Action of case Action of