]> granicus.if.org Git - ejabberd/commitdiff
set_subscription fix (EJAB-494)
authorChristophe Romain <christophe.romain@process-one.net>
Sat, 12 Jan 2008 19:47:19 +0000 (19:47 +0000)
committerChristophe Romain <christophe.romain@process-one.net>
Sat, 12 Jan 2008 19:47:19 +0000 (19:47 +0000)
SVN Revision: 1148

ChangeLog
src/mod_pubsub/mod_pubsub.erl

index 6fddcda9aefe1b095fc092a99c6cd9a05ccdae20..191fc59ff61a036c618780546a91940e6781c6b0 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2008-01-12  Christophe Romain <christophe.romain@process-one.net>
+
+       * src/mod_pubsub/mod_pubsub.erl: set_subscription fix (EJAB-494)
+
 2008-01-11  Christophe Romain <christophe.romain@process-one.net>
 
        * src/mod_caps.erl: don't ask capabilities to MUC room participants
index 31a831cb67dc345fcfbccb9f88841408df49306e..17053e5c0b3357f4686824a3db61f327a675e7e5 100644 (file)
@@ -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(