mirror of
https://github.com/processone/ejabberd.git
synced 2025-01-01 17:53:00 +01:00
mod_register: Add example configuration of welcome_message option
This commit is contained in:
parent
1add1de23b
commit
f1739ce34d
@ -702,4 +702,13 @@ mod_doc() ->
|
||||
#{value => "{subject: Subject, body: Body}",
|
||||
desc =>
|
||||
?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"]}}
|
||||
]}.
|
||||
|
Loading…
Reference in New Issue
Block a user