25
1
mirror of https://github.com/processone/ejabberd.git synced 2024-12-02 16:37:52 +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 ac31008ee0
commit 73bca8fbc0
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> 2008-01-11 Christophe Romain <christophe.romain@process-one.net>
* src/mod_caps.erl: don't ask capabilities to MUC room participants * 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; error;
_ -> _ ->
case El of case El of
{xmlelement, "subscriptions", Attrs, _} -> {xmlelement, "subscription", Attrs, _} ->
JID = jlib:string_to_jid( JID = jlib:string_to_jid(
xml:get_attr_s("jid", Attrs)), xml:get_attr_s("jid", Attrs)),
Subscription = string_to_subscription( Subscription = string_to_subscription(