mirror of
https://github.com/processone/ejabberd.git
synced 2024-11-24 16:23:40 +01:00
Don't suppress notifications on PEP node removal
Send node deletion notifications (as per XEP-0060, #8.4.2) also for PEP nodes.
This commit is contained in:
parent
d43d9ff0e2
commit
133c45ce2b
@ -118,8 +118,7 @@ create_node(Nidx, Owner) ->
|
||||
node_flat:create_node(Nidx, Owner).
|
||||
|
||||
delete_node(Nodes) ->
|
||||
{result, {_, _, Result}} = node_flat:delete_node(Nodes),
|
||||
{result, {default, Result}}.
|
||||
node_flat:delete_node(Nodes).
|
||||
|
||||
subscribe_node(Nidx, Sender, Subscriber, AccessModel,
|
||||
SendLast, PresenceSubscription, RosterGroup, Options) ->
|
||||
|
@ -74,8 +74,7 @@ create_node(Nidx, Owner) ->
|
||||
{result, {default, broadcast}}.
|
||||
|
||||
delete_node(Nodes) ->
|
||||
{result, {_, _, Result}} = node_flat_sql:delete_node(Nodes),
|
||||
{result, {default, Result}}.
|
||||
node_flat_sql:delete_node(Nodes).
|
||||
|
||||
subscribe_node(Nidx, Sender, Subscriber, AccessModel,
|
||||
SendLast, PresenceSubscription, RosterGroup, Options) ->
|
||||
|
Loading…
Reference in New Issue
Block a user