24
1
mirror of https://github.com/processone/ejabberd.git synced 2024-09-25 14:24:55 +02:00

mod_register: Add example configuration of welcome_message option

This commit is contained in:
Badlop 2024-07-05 16:03:45 +02:00
parent 1add1de23b
commit f1739ce34d

View File

@ -702,4 +702,13 @@ mod_doc() ->
#{value => "{subject: Subject, body: Body}", #{value => "{subject: Subject, body: Body}",
desc => desc =>
?T("Set a welcome message that is sent to each newly registered account. " ?T("Set a welcome message that is sent to each newly registered account. "
"The message will have subject 'Subject' and text 'Body'.")}}]}. "The message will have subject 'Subject' and text 'Body'."),
example =>
["modules:",
" mod_register:",
" welcome_message:",
" subject: \"Welcome!\"",
" body: |-",
" Hi!",
" Welcome to this XMPP server"]}}
]}.