Software / code / prosody-modules
Comparison
mod_pubsub_post/README.markdown @ 3152:882f7d5c3ce8
mod_pubsub_post/README: Affiliation management in trunk now
| author | Kim Alvefur <zash@zash.se> |
|---|---|
| date | Wed, 27 Jun 2018 17:27:44 +0200 |
| parent | 3151:a36710acd9c8 |
| child | 3153:e0de1fdbc80a |
comparison
equal
deleted
inserted
replaced
| 3151:a36710acd9c8 | 3152:882f7d5c3ce8 |
|---|---|
| 36 pseudo-JID must be given a 'publisher' affiliation. This should work | 36 pseudo-JID must be given a 'publisher' affiliation. This should work |
| 37 nicely with the `autocreate_on_publish` setting, where the first actor | 37 nicely with the `autocreate_on_publish` setting, where the first actor |
| 38 to attempt to publish to a non-existant node becomes owner of it, which | 38 to attempt to publish to a non-existant node becomes owner of it, which |
| 39 includes publishing rights. | 39 includes publishing rights. |
| 40 | 40 |
| 41 Prosodys PubSub module does not currently support [setting affiliations | 41 Prosodys PubSub module supports [setting affiliations via |
| 42 via XMPP](https://xmpp.org/extensions/xep-0060.html#owner-affiliations), | 42 XMPP](https://xmpp.org/extensions/xep-0060.html#owner-affiliations), in |
| 43 but this is planned. | 43 trunk since [revision |
| 44 384ef9732b81](https://hg.prosody.im/trunk/rev/384ef9732b81). | |
| 44 | 45 |
| 45 It can however be done from another plugin: | 46 It can however be done from another plugin: |
| 46 | 47 |
| 47 ``` {.lua} | 48 ``` {.lua} |
| 48 local mod_pubsub = module:depends("pubsub"); | 49 local mod_pubsub = module:depends("pubsub"); |