prosody: ship a proof-of-concept hello world module

This commit is contained in:
Colin 2023-10-20 10:25:42 +00:00
parent de9b1e6197
commit 5a844762c2
2 changed files with 7 additions and 0 deletions

View File

@ -222,6 +222,8 @@ in
# - vcard_legacy
# - version
extraPluginPaths = [ ./modules ];
extraModules = [
# admin_shell: allows `prosodyctl shell` to work
# see: <https://prosody.im/doc/modules/mod_admin_shell>
@ -237,6 +239,7 @@ in
# legacy coturn integration
# see: <https://modules.prosody.im/mod_turncredentials.html>
# "turncredentials"
"sane_hello"
] ++ lib.optionals enableDebug [
"stanza_debug" #< logs EVERY stanza as debug: <https://prosody.im/doc/modules/mod_stanza_debug>
];

View File

@ -0,0 +1,4 @@
-- simple proof-of-concept Prosody module
-- module development guide: <https://prosody.im/doc/developers/modules>
-- module API docs: <https://prosody.im/doc/developers/moduleapi>
module:log("info", "Hello world!");