diff options
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | src/mod_pubsub/mod_pubsub.erl | 4 |
2 files changed, 7 insertions, 2 deletions
@@ -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 diff --git a/src/mod_pubsub/mod_pubsub.erl b/src/mod_pubsub/mod_pubsub.erl index fa021cc7..df009d8d 100644 --- a/src/mod_pubsub/mod_pubsub.erl +++ b/src/mod_pubsub/mod_pubsub.erl @@ -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); |