Mercurial > prosody-modules
comparison mod_conversejs/README.markdown @ 2919:0ea93da47db9
mod_conversejs: Allow passing arbitrary options trough to Converse.js
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Sat, 10 Mar 2018 00:05:30 +0100 |
parents | d2d0715f30d9 |
children | 4d03ac2737ab |
comparison
equal
deleted
inserted
replaced
2918:d2d0715f30d9 | 2919:0ea93da47db9 |
---|---|
45 ---- | 45 ---- |
46 | 46 |
47 See Prosodys [HTTP configuration][doc:http] for HTTP related | 47 See Prosodys [HTTP configuration][doc:http] for HTTP related |
48 options. | 48 options. |
49 | 49 |
50 Other | |
51 ----- | |
50 | 52 |
53 To pass [other Converse.js | |
54 options](https://conversejs.org/docs/html/configuration.html), or | |
55 override the derived settings, one can set `conversejs_options` like | |
56 this: | |
51 | 57 |
58 ``` {.lua} | |
59 converse_options = { | |
60 debug = true; | |
61 view_mode = "fullscreen"; | |
62 } | |
63 ``` | |
64 | |
65 Note that the following options are automatically provided, and | |
66 **overriding them may cause problems**: | |
67 | |
68 - `authentication` *based on Prosodys authentication settings* | |
69 - `jid` *the current `VirtualHost`* | |
70 - `bosh_service_url` | |
71 - `websocket_url` *if `mod_websocket` is available* | |
72 |