aboutsummaryrefslogtreecommitdiff
path: root/doc/guide.tex
diff options
context:
space:
mode:
authorAlexey Shchepin <alexey@process-one.net>2004-08-22 21:54:14 +0000
committerAlexey Shchepin <alexey@process-one.net>2004-08-22 21:54:14 +0000
commit4103f30812ed99c984a2fdb16aabca139c9255d7 (patch)
tree449c3946ebd1e8c040656e119c4276e2d2d9cb00 /doc/guide.tex
parent* src/msgs/nl.msg: Updated (thanks to Sander Devrieze) (diff)
* src/mod_offline.erl: Added entire table locking on large message
queue * src/ejabberd_sm.erl: Added offline_subscription_hook * src/mod_offline.erl: Use offline_subscription_hook * src/configure.erl: Updated (thanks to Sergei Golovan) * src/Makefile.win32: Likewise * src/tls/Makefile.win32: Likewise * src/win32/: Likewise * src/mod_announce.erl: Added announce to all users (thanks to Sergei Golovan) * doc/guide.tex: Updated (thanks to Sergei Golovan) SVN Revision: 259
Diffstat (limited to 'doc/guide.tex')
-rw-r--r--doc/guide.tex20
1 files changed, 20 insertions, 0 deletions
diff --git a/doc/guide.tex b/doc/guide.tex
index 5e12c70db..573fdfd6d 100644
--- a/doc/guide.tex
+++ b/doc/guide.tex
@@ -817,6 +817,26 @@ Example:
\label{sec:modannounce}
This module adds support for broadcast announce messages and MOTD.
+When the module is loaded, it handles messages sent to the following JID's
+(suppose that main server has address \jid{example.org}):
+\begin{description}
+\titem{example.org/announce/all} Message is sent to all registered users.
+If the user is online and connected to several resources, only resource with
+the highest priority will receive the message. If the registered user is
+not connected, the message will be stored offline (if oflline storage is
+available).
+\titem{example.org/announce/online} Message is sent to all connected users.
+If the user is online and connected to several resources, all resources
+will receive the message.
+\titem{example.org/announce/motd} Message is set as MOTD (Message of the Day)
+and will be sent to users as they login. In addition the message is sent to
+all connected users (similar to \term{announce/online} resource).
+\titem{example.org/announce/motd/update} Message is set as MOTD (Message of the Day)
+and will be sent to users as they login. The message is \emph{not sent} to
+all connected users.
+\titem{example.org/announce/motd/delete} Any message sent to this JID
+removes existing MOTD.
+\end{description}
Options:
\begin{description}