mirror of
https://github.com/processone/ejabberd.git
synced 2024-11-26 16:26:24 +01:00
Fix bad transaction returncode in unsubscribe presence handler
SVN Revision: 2074
This commit is contained in:
parent
fd36726357
commit
c12b1870b7
@ -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>
|
2009-05-11 Christophe Romain <christophe.romain@process-one.net>
|
||||||
|
|
||||||
* src/mod_caps.erl: Prevent race condition when calling get_caps while
|
* src/mod_caps.erl: Prevent race condition when calling get_caps while
|
||||||
|
@ -736,10 +736,10 @@ handle_cast({unsubscribe, Subscriber, Owner}, State) ->
|
|||||||
true ->
|
true ->
|
||||||
node_call(Type, unsubscribe_node, [NodeId, Subscriber, JID, all]);
|
node_call(Type, unsubscribe_node, [NodeId, Subscriber, JID, all]);
|
||||||
false ->
|
false ->
|
||||||
ok
|
{result, ok}
|
||||||
end;
|
end;
|
||||||
_ ->
|
_ ->
|
||||||
ok
|
{result, ok}
|
||||||
end
|
end
|
||||||
end,
|
end,
|
||||||
transaction(Host, Node, Action, sync_dirty);
|
transaction(Host, Node, Action, sync_dirty);
|
||||||
|
Loading…
Reference in New Issue
Block a user