From: Christophe Romain Date: Sat, 12 Jan 2008 19:47:19 +0000 (+0000) Subject: set_subscription fix (EJAB-494) X-Git-Tag: v2.0.0~37 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=73bca8fbc0e157924f26d47a923309c5fc66596d;p=ejabberd set_subscription fix (EJAB-494) SVN Revision: 1148 --- diff --git a/ChangeLog b/ChangeLog index 6fddcda9a..191fc59ff 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2008-01-12 Christophe Romain + + * src/mod_pubsub/mod_pubsub.erl: set_subscription fix (EJAB-494) + 2008-01-11 Christophe Romain * src/mod_caps.erl: don't ask capabilities to MUC room participants diff --git a/src/mod_pubsub/mod_pubsub.erl b/src/mod_pubsub/mod_pubsub.erl index 31a831cb6..17053e5c0 100644 --- a/src/mod_pubsub/mod_pubsub.erl +++ b/src/mod_pubsub/mod_pubsub.erl @@ -1912,7 +1912,7 @@ set_subscriptions(Host, Node, From, EntitiesEls) -> error; _ -> case El of - {xmlelement, "subscriptions", Attrs, _} -> + {xmlelement, "subscription", Attrs, _} -> JID = jlib:string_to_jid( xml:get_attr_s("jid", Attrs)), Subscription = string_to_subscription(