Mercurial > prosody-modules
view mod_s2s_reload_newcomponent/README.markdown @ 4409:44f6537f6427
mod_invites_adhoc: Fail contact invite if user is not on current host
Only the username was being used, and the host of the requester ignored.
Luckily this only affects admins of the host. If they want to create an
account they can use the other command. If they want to create a contact
they should request from their account on this host.
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Thu, 28 Jan 2021 07:04:11 +0000 |
parents | 4d73a1a6ba68 |
children |
line wrap: on
line source
--- labels: summary: | Module to automatically load new components when config:reload is done in console ... Introduction ============ Currently, module:reload command in console doesn't load new components. This module will automatically load the new components (if any) when the config:reload command is run in the console. Details ======= In order to use the plugin, simply load the plugin by adding "s2s\_reload\_newcomponent" to the modules enabled list. The plugin requires configuration to be reloaded via console plugin's config:reload() command. Now, add a new component in the prosody configuration and then run config:reload() command in the console plugin. The new component should become active in prosody at this point and can be used. Dependency ========== Needs console plugin to reload configuration. Compatibility ============= ----- ------- 0.7 works ----- -------