Software / code / prosody-modules
Comparison
mod_default_bookmarks/README.markdown @ 3237:420ebea00cf3
mod_default_bookmarks: Add support for <password/>.
| author | Emmanuel Gil Peyrot <linkmauve@linkmauve.fr> |
|---|---|
| date | Sat, 18 Aug 2018 17:38:48 +0100 |
| parent | 3236:73906187f964 |
| child | 5613:39bb7232326d |
comparison
equal
deleted
inserted
replaced
| 3236:73906187f964 | 3237:420ebea00cf3 |
|---|---|
| 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 default_bookmarks = { |
| 35 { jid = "room@conference.example.com", name = "The Room" }; | 35 { jid = "room@conference.example.com", name = "The Room" }; |
| 36 { jid = "another-room@conference.example.com", name = "The Other Room" }; | 36 -- Specifying a password is supported: |
| 37 { jid = "secret-room@conference.example.com", name = "A Secret Room", password = "secret" }; | |
| 37 -- You can also use this compact syntax: | 38 -- You can also use this compact syntax: |
| 38 "yetanother@conference.example.com"; -- this will get "yetanother" as name | 39 "yetanother@conference.example.com"; -- this will get "yetanother" as name |
| 39 }; | 40 }; |
| 40 | 41 |
| 41 Compatibility | 42 Compatibility |