Holger Weiss a0a9aaa1e0 mod_default_rooms: Don't depend on mod_register
The mod_default_rooms module doesn't just work in conjunction with
mod_register, as bookmarks are also auto-added for users registered via,
for example, the "ejabberdctl register" command.  Update the code and
the documentation accordingly.

Thanks to Licaon_Kter for noting this.
2019-04-24 19:45:38 +02:00

39 lines
862 B
Plaintext

mod_default_rooms - Add MUC bookmark(s) on registration
Author: Holger Weiss <holger@zedat.fu-berlin.de>
DESCRIPTION
-----------
This module allows for specifying one or more rooms that should be
bookmarked automatically on successful user registration (via
"mod_register", or, for example, "ejabberdctl register").
CONFIGURATION
-------------
In order to use this module, add a configuration snippet such as the
following:
modules:
# [...]
mod_default_rooms:
rooms:
- "foo@conference.@HOST@"
- "bar@conference.@HOST@"
The configurable mod_default_rooms options are:
- rooms (default: [])
The list of rooms users that should be auto-bookmarked on account
registration.
- auto_join (default: true)
This option specifies wether the auto-join flag should be set for the
bookmarks created on registration.