nodetree virtual & publish_model

Hy ,

I use the configuration in my virtual nodetree pubsub configuration:

{mod_pubsub, [ % requires mod_caps
{access_createnode, pubsub_createnode},
{ignore_pep_from_offline, true}, % reduce resource comsumption, but XEP incompliant
%%{ignore_pep_from_offline, false}, % XEP compliant, but increases resource comsumption
{last_item_cache, false},
{nodetree, "virtual"},
{plugins, ["flat", "pep"]}

As I see it is only possible to use the plugin "flat", however this plugin as a parameter plublish_model : publisher .

I would like to have as a configuration "open" publish model .

Can I create a custom plugin :

{nodetree, "virtual"},
{plugins, ["myplugin"]}

Thank you for your answers.

Syndicate content