mirror of
https://github.com/processone/ejabberd.git
synced 2025-01-01 17:53:00 +01:00
Fix mix_sql features and options
This commit is contained in:
parent
212d44f419
commit
242c3c1da5
@ -53,41 +53,10 @@ terminate(Host, ServerHost) ->
|
||||
node_flat_sql:terminate(Host, ServerHost).
|
||||
|
||||
options() ->
|
||||
[{deliver_payloads, true},
|
||||
{notify_config, false},
|
||||
{notify_delete, false},
|
||||
{notify_retract, true},
|
||||
{purge_offline, false},
|
||||
{persist_items, true},
|
||||
{max_items, ?MAXITEMS},
|
||||
{subscribe, true},
|
||||
{access_model, open},
|
||||
{roster_groups_allowed, []},
|
||||
{publish_model, open},
|
||||
{notification_type, headline},
|
||||
{max_payload_size, ?MAX_PAYLOAD_SIZE},
|
||||
{send_last_published_item, never},
|
||||
{deliver_notifications, true},
|
||||
{broadcast_all_resources, true},
|
||||
{presence_based_delivery, false},
|
||||
{itemreply, none}].
|
||||
[{sql, true}, {rsm, true} | node_mix:options()].
|
||||
|
||||
features() ->
|
||||
[<<"create-nodes">>,
|
||||
<<"delete-nodes">>,
|
||||
<<"delete-items">>,
|
||||
<<"instant-nodes">>,
|
||||
<<"item-ids">>,
|
||||
<<"outcast-affiliation">>,
|
||||
<<"persistent-items">>,
|
||||
<<"publish">>,
|
||||
<<"purge-nodes">>,
|
||||
<<"retract-items">>,
|
||||
<<"retrieve-affiliations">>,
|
||||
<<"retrieve-items">>,
|
||||
<<"retrieve-subscriptions">>,
|
||||
<<"subscribe">>,
|
||||
<<"subscription-notifications">>].
|
||||
[<<"rsm">> | node_mix:features()].
|
||||
|
||||
create_node_permission(Host, ServerHost, Node, ParentNode, Owner, Access) ->
|
||||
node_flat_sql:create_node_permission(Host, ServerHost, Node, ParentNode, Owner, Access).
|
||||
|
Loading…
Reference in New Issue
Block a user