25
1
mirror of https://github.com/processone/ejabberd.git synced 2024-11-20 16:15:59 +01:00

Fix bad transaction returncode in unsubscribe presence handler

SVN Revision: 2073
This commit is contained in:
Christophe Romain 2009-05-12 20:57:38 +00:00
parent 20088d8a92
commit 257efddd1b
2 changed files with 7 additions and 2 deletions

View File

@ -1,3 +1,8 @@
2009-05-12 Christophe Romain <christophe.romain@process-one.net>
* src/mod_pubsub/mod_pubsub.erl: Fix bad transaction returncode in
unsubscribe presence handler
2009-05-11 Christophe Romain <christophe.romain@process-one.net>
* src/mod_caps.erl: Prevent race condition when calling get_caps while

View File

@ -728,10 +728,10 @@ handle_cast({unsubscribe, Subscriber, Owner}, State) ->
true ->
node_call(Type, unsubscribe_node, [NodeId, Subscriber, JID, all]);
false ->
ok
{result, ok}
end;
_ ->
ok
{result, ok}
end
end,
transaction(Host, Node, Action, sync_dirty);