mirror of
https://github.com/processone/ejabberd.git
synced 2024-11-22 16:20:52 +01:00
minor pubsub fixes
SVN Revision: 1782
This commit is contained in:
parent
068c93e562
commit
d2524b20d5
11
ChangeLog
11
ChangeLog
@ -7,6 +7,17 @@
|
|||||||
* src/mod_pubsub/node_default.erl: any entity can retrieve item when
|
* src/mod_pubsub/node_default.erl: any entity can retrieve item when
|
||||||
node access model is "open" (thanks to Myers Carpenter)(EJAB-836)
|
node access model is "open" (thanks to Myers Carpenter)(EJAB-836)
|
||||||
|
|
||||||
|
* src/mod_pubsub/node_default.erl: use of del_items
|
||||||
|
|
||||||
|
* src/mod_pubsub/node.template: apply delete-any feature
|
||||||
|
* src/mod_pubsub/node_mb.erl: Likewise
|
||||||
|
* src/mod_pubsub/node_buddy.erl: Likewise
|
||||||
|
* src/mod_pubsub/node_private.erl: Likewise
|
||||||
|
* src/mod_pubsub/node_public.erl: Likewise
|
||||||
|
* src/mod_pubsub/node_pep.erl: Likewise
|
||||||
|
* src/mod_pubsub/node_default.erl: Likewise
|
||||||
|
* src/mod_pubsub/node_club.erl: Likewise
|
||||||
|
|
||||||
2009-01-08 Pablo Polvorin <pablo.polvorin@process-one.net>
|
2009-01-08 Pablo Polvorin <pablo.polvorin@process-one.net>
|
||||||
* src/mod_vcard_ldap.erl, src/mod_muc/mod_muc.erl, src/mod_roster.hrl,
|
* src/mod_vcard_ldap.erl, src/mod_muc/mod_muc.erl, src/mod_roster.hrl,
|
||||||
src/mod_offline_odbc.erl, src/ejabberd_s2s_in.erl, src/adhoc.erl,
|
src/mod_offline_odbc.erl, src/ejabberd_s2s_in.erl, src/adhoc.erl,
|
||||||
|
@ -95,6 +95,7 @@ options() ->
|
|||||||
features() ->
|
features() ->
|
||||||
["create-nodes",
|
["create-nodes",
|
||||||
"delete-nodes",
|
"delete-nodes",
|
||||||
|
"delete-any",
|
||||||
"instant-nodes",
|
"instant-nodes",
|
||||||
"outcast-affiliation",
|
"outcast-affiliation",
|
||||||
"persistent-items",
|
"persistent-items",
|
||||||
|
@ -98,6 +98,7 @@ options() ->
|
|||||||
features() ->
|
features() ->
|
||||||
["create-nodes",
|
["create-nodes",
|
||||||
"delete-nodes",
|
"delete-nodes",
|
||||||
|
"delete-any",
|
||||||
"instant-nodes",
|
"instant-nodes",
|
||||||
"item-ids",
|
"item-ids",
|
||||||
"outcast-affiliation",
|
"outcast-affiliation",
|
||||||
|
@ -98,6 +98,7 @@ options() ->
|
|||||||
features() ->
|
features() ->
|
||||||
["create-nodes",
|
["create-nodes",
|
||||||
"delete-nodes",
|
"delete-nodes",
|
||||||
|
"delete-any",
|
||||||
"instant-nodes",
|
"instant-nodes",
|
||||||
"outcast-affiliation",
|
"outcast-affiliation",
|
||||||
"persistent-items",
|
"persistent-items",
|
||||||
|
@ -535,9 +535,7 @@ purge_node(Host, Node, Owner) ->
|
|||||||
GenState = get_state(Host, Node, GenKey),
|
GenState = get_state(Host, Node, GenKey),
|
||||||
case GenState of
|
case GenState of
|
||||||
#pubsub_state{items = Items, affiliation = owner} ->
|
#pubsub_state{items = Items, affiliation = owner} ->
|
||||||
lists:foreach(fun(ItemId) ->
|
del_items(Host, Node, Items),
|
||||||
mnesia:delete({pubsub_item, {ItemId, {Host, Node}}})
|
|
||||||
end, Items),
|
|
||||||
{result, {default, broadcast}};
|
{result, {default, broadcast}};
|
||||||
_ ->
|
_ ->
|
||||||
%% Entity is not owner
|
%% Entity is not owner
|
||||||
|
@ -102,6 +102,7 @@ features() ->
|
|||||||
"auto-create", %*
|
"auto-create", %*
|
||||||
"auto-subscribe", %*
|
"auto-subscribe", %*
|
||||||
"delete-nodes", %*
|
"delete-nodes", %*
|
||||||
|
"delete-any", %*
|
||||||
"filtered-notifications", %*
|
"filtered-notifications", %*
|
||||||
"modify-affiliations",
|
"modify-affiliations",
|
||||||
"outcast-affiliation",
|
"outcast-affiliation",
|
||||||
|
@ -98,6 +98,7 @@ features() ->
|
|||||||
"auto-create", %*
|
"auto-create", %*
|
||||||
"auto-subscribe", %*
|
"auto-subscribe", %*
|
||||||
"delete-nodes", %*
|
"delete-nodes", %*
|
||||||
|
"delete-any", %*
|
||||||
"filtered-notifications", %*
|
"filtered-notifications", %*
|
||||||
"modify-affiliations",
|
"modify-affiliations",
|
||||||
"outcast-affiliation",
|
"outcast-affiliation",
|
||||||
|
@ -98,6 +98,7 @@ options() ->
|
|||||||
features() ->
|
features() ->
|
||||||
["create-nodes",
|
["create-nodes",
|
||||||
"delete-nodes",
|
"delete-nodes",
|
||||||
|
"delete-any",
|
||||||
"instant-nodes",
|
"instant-nodes",
|
||||||
"outcast-affiliation",
|
"outcast-affiliation",
|
||||||
"persistent-items",
|
"persistent-items",
|
||||||
|
@ -98,6 +98,7 @@ options() ->
|
|||||||
features() ->
|
features() ->
|
||||||
["create-nodes",
|
["create-nodes",
|
||||||
"delete-nodes",
|
"delete-nodes",
|
||||||
|
"delete-any",
|
||||||
"instant-nodes",
|
"instant-nodes",
|
||||||
"outcast-affiliation",
|
"outcast-affiliation",
|
||||||
"persistent-items",
|
"persistent-items",
|
||||||
|
Loading…
Reference in New Issue
Block a user