Mercurial > prosody-modules
view mod_admin_notify/README.markdown @ 4511:97fac0ba0469
mod_pubsub_subscription: New module providing an API for pubsub subscriptions
This lets other modules hook events from local or remote XEP-0060 pubsub
services. API allows keeping track of items added, removed or if the
whole node gets cleared or even deleted.
Requested by MattJ.
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Mon, 15 Mar 2021 16:31:23 +0100 |
parents | e97c509fdbe3 |
children |
line wrap: on
line source
--- labels: - 'Stage-Alpha' summary: API to notify server admins --- # Introduction This module provides an API for other module developers to send notification messages to host admins. # Configuration None required. # Developers Example: ``` local notify_admins = module:depends("admin_notify").notify; notify("This is an important message for you, admins") ``` # Compatibility Prosody trunk or later. Incompatible with 0.11 or lower.