25
1
mirror of https://github.com/processone/ejabberd.git synced 2024-11-26 16:26:24 +01:00

fix node_public portage

SVN Revision: 2545
This commit is contained in:
Christophe Romain 2009-08-27 08:34:16 +00:00
parent 71e0d7d8e2
commit bb08207569

View File

@ -47,7 +47,7 @@
create_node/2, create_node/2,
delete_node/1, delete_node/1,
purge_node/2, purge_node/2,
subscribe_node/7, subscribe_node/8,
unsubscribe_node/4, unsubscribe_node/4,
publish_item/6, publish_item/6,
delete_item/4, delete_item/4,
@ -58,8 +58,9 @@
set_affiliation/3, set_affiliation/3,
get_entity_subscriptions/2, get_entity_subscriptions/2,
get_node_subscriptions/1, get_node_subscriptions/1,
get_subscription/2, get_subscriptions/2,
set_subscription/3, set_subscriptions/4,
get_pending_nodes/2,
get_states/1, get_states/1,
get_state/2, get_state/2,
set_state/1, set_state/1,
@ -121,8 +122,8 @@ create_node(NodeId, Owner) ->
delete_node(Removed) -> delete_node(Removed) ->
node_hometree:delete_node(Removed). node_hometree:delete_node(Removed).
subscribe_node(NodeId, Sender, Subscriber, AccessModel, SendLast, PresenceSubscription, RosterGroup) -> subscribe_node(NodeId, Sender, Subscriber, AccessModel, SendLast, PresenceSubscription, RosterGroup, Options) ->
node_hometree:subscribe_node(NodeId, Sender, Subscriber, AccessModel, SendLast, PresenceSubscription, RosterGroup). node_hometree:subscribe_node(NodeId, Sender, Subscriber, AccessModel, SendLast, PresenceSubscription, RosterGroup, Options).
unsubscribe_node(NodeId, Sender, Subscriber, SubID) -> unsubscribe_node(NodeId, Sender, Subscriber, SubID) ->
node_hometree:unsubscribe_node(NodeId, Sender, Subscriber, SubID). node_hometree:unsubscribe_node(NodeId, Sender, Subscriber, SubID).
@ -157,11 +158,14 @@ get_entity_subscriptions(Host, Owner) ->
get_node_subscriptions(NodeId) -> get_node_subscriptions(NodeId) ->
node_hometree:get_node_subscriptions(NodeId). node_hometree:get_node_subscriptions(NodeId).
get_subscription(NodeId, Owner) -> get_subscriptions(NodeId, Owner) ->
node_hometree:get_subscription(NodeId, Owner). node_hometree:get_subscriptions(NodeId, Owner).
set_subscription(NodeId, Owner, Subscription) -> set_subscriptions(NodeId, Owner, Subscription, SubId) ->
node_hometree:set_subscription(NodeId, Owner, Subscription). node_hometree:set_subscription(NodeId, Owner, Subscription, SubId).
get_pending_nodes(Host, Owner) ->
node_hometree:get_pending_nodes(Host, Owner).
get_states(NodeId) -> get_states(NodeId) ->
node_hometree:get_states(NodeId). node_hometree:get_states(NodeId).