* doc/guide.tex: Document how to insert a newline character in

welcome_message (EJAB-501)
* src/ejabberd.cfg.example: Likewise

SVN Revision: 1437
This commit is contained in:
Badlop 2008-07-11 13:47:15 +00:00
parent 3c90d7c2b9
commit cdcc3a2520
3 changed files with 9 additions and 2 deletions

View File

@ -1,3 +1,9 @@
2008-07-11 Badlop <badlop@process-one.net>
* doc/guide.tex: Document how to insert a newline character in
welcome_message (EJAB-501)
* src/ejabberd.cfg.example: Likewise
2008-07-11 Christophe Romain <christophe.romain@process-one.net>
* src/ejabberd_c2s.erl: Backport C2S blacklist support from trunk

View File

@ -2883,6 +2883,7 @@ Options:
\titem{welcome\_message} \ind{options!welcomem}Set a welcome message that
is sent to each newly registered account. The first string is the subject, and
the second string is the message body.
In the body you can set a newline with the characters: \verb|\n|
\titem{registration\_watchers} \ind{options!rwatchers}This option defines a
list of JIDs which will be notified each time a new account is registered.
\iqdiscitem{In-Band Registration (\ns{jabber:iq:register})}
@ -2941,7 +2942,7 @@ Also define a registration timeout of one hour:
...
{mod_register,
[
{welcome_message, {"Welcome!", "Welcome to this Jabber server. Check http://www.jabber.org"}},
{welcome_message, {"Welcome!", "Hi.\nWelcome to this Jabber server.\n Check http://www.jabber.org\n\nBye"}},
{registration_watchers, ["admin1@example.org", "boss@example.net"]}
]},
...

View File

@ -459,7 +459,7 @@
%% a message with this subject and body.
%%
{welcome_message, {"Welcome!",
"Welcome to this Jabber server."}},
"Hi\nWelcome to this Jabber server."}},
%%
%% When a user registers, send a notification to