Mercurial > prosody-modules
view mod_admin_notify/README.markdown @ 5372:2d8076577e14
mod_client_management: Fix error when called against host without this module
Previously:
prosody> user:clients("user@example.org")
| Result: 1
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Wed, 26 Apr 2023 12:09:17 +0200 |
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.