Mercurial > prosody-modules
comparison mod_default_bookmarks/README.markdown @ 5653:62c6e17a5e9d
Merge
author | Stephen Paul Weber <singpolyma@singpolyma.net> |
---|---|
date | Mon, 18 Sep 2023 08:24:19 -0500 |
parents | 39bb7232326d |
children |
comparison
equal
deleted
inserted
replaced
5652:eade7ff9f52c | 5653:62c6e17a5e9d |
---|---|
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 ------- --------------- |