comparison mod_default_bookmarks/README.markdown @ 5606:39bb7232326d

mod_default_bookmarks: Include 'autojoin' in examples The text does mention this, but who reads that?
author Kim Alvefur <zash@zash.se>
date Mon, 17 Jul 2023 16:40:45 +0200
parents 420ebea00cf3
children
comparison
equal deleted inserted replaced
5605:17aa3bac7f3a 5606:39bb7232326d
29 -- ...maybe some more here... -- 29 -- ...maybe some more here... --
30 } 30 }
31 31
32 Then add a list of the default rooms you want: 32 Then add a list of the default rooms you want:
33 33
34 default_bookmarks = { 34 ``` lua
35 { jid = "room@conference.example.com", name = "The Room" }; 35 default_bookmarks = {
36 -- Specifying a password is supported: 36 { jid = "room@conference.example.com"; name = "The Room"; autojoin = true };
37 { jid = "secret-room@conference.example.com", name = "A Secret Room", password = "secret" }; 37 -- Specifying a password is supported:
38 -- You can also use this compact syntax: 38 { jid = "secret-room@conference.example.com"; name = "A Secret Room"; password = "secret"; autojoin = true };
39 "yetanother@conference.example.com"; -- this will get "yetanother" as name 39 -- You can also use this compact syntax:
40 }; 40 "yetanother@conference.example.com"; -- this will get "yetanother" as name
41 };
42 ```
41 43
42 Compatibility 44 Compatibility
43 ------------- 45 -------------
44 46
45 ------- --------------- 47 ------- ---------------