mod_muc_webchat_url: Fix default url
[prosody-modules.git] / mod_default_bookmarks / README.markdown
blobffa34d852e046030932a28ae3009121e0ab1c66f
1 ---
2 labels:
3 summary: Default bookmarked chatrooms
4 ...
6 Introduction
7 ============
9 This module allows you to add default bookmarks for users. It only kicks
10 in when the user has no existing bookmarks, so users are free to add,
11 change or remove them.
13 Details
14 =======
16 Most clients support storing a private list of room "bookmarks" on the
17 server. When they log in, they fetch this list and join any that are
18 marked as "autojoin". If this list is empty, as it would be for new
19 users, this module would return the list supplied in the config.
21 Configuration
22 =============
24 Add "default\_bookmarks" to your modules\_enabled list:
26         modules_enabled = {
27                    -- ...other modules here... --
28                    "default_bookmarks";
29                    -- ...maybe some more here... --
30         }
32 Then add a list of the default rooms you want:
34     default_bookmarks = {
35         { jid = "room@conference.example.com", name = "The Room" };
36         -- Specifying a password is supported:
37         { jid = "secret-room@conference.example.com", name = "A Secret Room", password = "secret" };
38         -- You can also use this compact syntax:
39         "yetanother@conference.example.com"; -- this will get "yetanother" as name
40     };
42 Compatibility
43 -------------
45   ------- ---------------
46   trunk   Works
47   0.10    Should work
48   0.9     Should work
49   ------- ---------------