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:
parent
20088d8a92
commit
257efddd1b
@ -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
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user