diff mod_conversejs/README.markdown @ 2918:d2d0715f30d9

mod_conversejs/README: Expand config section
author Kim Alvefur <zash@zash.se>
date Sat, 10 Mar 2018 00:04:47 +0100
parents ed5ad4fd5bdd
children 0ea93da47db9
line wrap: on
line diff
--- a/mod_conversejs/README.markdown	Fri Mar 09 21:58:47 2018 +0100
+++ b/mod_conversejs/README.markdown	Sat Mar 10 00:04:47 2018 +0100
@@ -17,14 +17,35 @@
 Configuration
 =============
 
-The module itself has no configuration. It uses
-[authentication settings][doc:authentication] to determine whether to
-configure Converse.js to use `login` or `anonymous` mode.
+The module uses general Prosody options for basic configuration. It
+should just work after loading it.
+
+``` {.lua}
+modules_enabled = {
+    -- other modules...
+    "conversejs";
+}
+```
+
+Authentication
+--------------
 
-It also determines the [BOSH][mod_bosh] and [WebSocket][mod_websocket]
-URL automatically, see their respective documentation for how to configure
-them.
+[Authentication settings][doc:authentication] are used determine
+whether to configure Converse.js to use `login` or `anonymous` mode.
+
+Connection methods
+------------------
 
-See Prosodys [HTTP configuration][doc:http] for HTTP related options.
+It also determines the [BOSH][mod_bosh] and
+[WebSocket][mod_websocket] URL automatically, see their respective
+documentation for how to configure them. Both connection methods are
+loaded automatically.
+
+HTTP
+----
+
+See Prosodys [HTTP configuration][doc:http] for HTTP related
+options.
 
 
+