Mercurial > prosody-hg
annotate plugins/mod_pep_plus.lua @ 14116:c8458864dcea
util.pubsub: Allow publishers to retract items they published
This requires the service configuration to provide an iteminfo() callback
which returns a table of metadata including a 'publisher' field.
Retraction is permitted only if the JID (currently) has permission to publish,
and they were the publisher of the item.
| author | Matthew Wild <mwild1@gmail.com> |
|---|---|
| date | Tue, 31 Mar 2026 14:13:32 +0100 |
| parents | 0462405b1cfb |
| children |
| rev | line source |
|---|---|
|
9074
0462405b1cfb
mod_pep -> mod_pep_simple, mod_pep_plus -> mod_pep
Matthew Wild <mwild1@gmail.com>
parents:
9061
diff
changeset
|
1 module:log("error", "mod_pep_plus has been renamed to mod_pep, please update your config file. Auto-loading mod_pep..."); |
|
0462405b1cfb
mod_pep -> mod_pep_simple, mod_pep_plus -> mod_pep
Matthew Wild <mwild1@gmail.com>
parents:
9061
diff
changeset
|
2 module:depends("pep"); |
