25
1
mirror of https://github.com/processone/ejabberd.git synced 2024-11-24 16:23:40 +01:00

set_subscription fix (EJAB-494)

SVN Revision: 1148
This commit is contained in:
Christophe Romain 2008-01-12 19:47:19 +00:00
parent b106f894e4
commit aa685c7794
2 changed files with 5 additions and 1 deletions

View File

@ -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

View 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(