diff options
author | Christophe Romain <christophe.romain@process-one.net> | 2009-07-17 09:29:11 +0000 |
---|---|---|
committer | Christophe Romain <christophe.romain@process-one.net> | 2009-07-17 09:29:11 +0000 |
commit | c54fb0c9f2219a6564e5a436d863f199a9f7482f (patch) | |
tree | 43398194df6daf94d9074011a602ff0743e16631 /src/mod_pubsub/node_dag.erl | |
parent | If a command is already defined: log as Debug, not as Warning. (diff) |
Fix set-subscriptions to work with multi-subscribe (EJAB-977)
SVN Revision: 2364
Diffstat (limited to '')
-rw-r--r-- | src/mod_pubsub/node_dag.erl | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mod_pubsub/node_dag.erl b/src/mod_pubsub/node_dag.erl index a276f08f..2ffb70df 100644 --- a/src/mod_pubsub/node_dag.erl +++ b/src/mod_pubsub/node_dag.erl @@ -42,7 +42,7 @@ get_entity_subscriptions/2, get_node_subscriptions/1, get_subscriptions/2, - set_subscriptions/3, + set_subscriptions/4, get_states/1, get_state/2, set_state/1, @@ -136,8 +136,8 @@ get_node_subscriptions(NodeID) -> get_subscriptions(NodeID, Owner) -> node_hometree:get_subscriptions(NodeID, Owner). -set_subscriptions(NodeID, Owner, Subscriptions) -> - node_hometree:set_subscriptions(NodeID, Owner, Subscriptions). +set_subscriptions(NodeID, Owner, Subscription, SubID) -> + node_hometree:set_subscriptions(NodeID, Owner, Subscription, SubID). get_states(NodeID) -> node_hometree:get_states(NodeID). |