mirror of
https://github.com/processone/ejabberd.git
synced 2024-12-26 17:38:45 +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>
|
||||
|
||||
* src/mod_caps.erl: Prevent race condition when calling get_caps while
|
||||
|
@ -736,10 +736,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