Mercurial > prosody-modules
comparison mod_conversejs/mod_conversejs.lua @ 3737:49e65a7e9415
mod_conversejs: Use the fullscreen view mode by default
The default overlay mode is easy to miss on an otherwise blank page.
| author | Kim Alvefur <zash@zash.se> |
|---|---|
| date | Mon, 04 Nov 2019 18:12:21 +0100 |
| parents | 58b49d883f0c |
| children | 36b6e3e3f9e2 |
comparison
equal
deleted
inserted
replaced
| 3736:3784bbcbb8ff | 3737:49e65a7e9415 |
|---|---|
| 70 jid = module.host; | 70 jid = module.host; |
| 71 default_domain = module.host; | 71 default_domain = module.host; |
| 72 domain_placeholder = module.host; | 72 domain_placeholder = module.host; |
| 73 allow_registration = allow_registration; | 73 allow_registration = allow_registration; |
| 74 registration_domain = allow_registration and module.host or nil; | 74 registration_domain = allow_registration and module.host or nil; |
| 75 view_mode = "fullscreen"; | |
| 75 }; | 76 }; |
| 76 | 77 |
| 77 if type(user_options) == "table" then | 78 if type(user_options) == "table" then |
| 78 for k,v in pairs(user_options) do | 79 for k,v in pairs(user_options) do |
| 79 converse_options[k] = v; | 80 converse_options[k] = v; |
