+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
\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})}
...
{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"]}
]},
...
%% 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