diff mod_muc_badge/README.markdown @ 3296:a1ef6a46841e

mod_muc_badge/README: Add an example
author Kim Alvefur <zash@zash.se>
date Thu, 06 Sep 2018 18:10:44 +0200
parents 4a77c9c2a1cd
children 8424142d503c
line wrap: on
line diff
--- a/mod_muc_badge/README.markdown	Thu Sep 06 18:09:30 2018 +0200
+++ b/mod_muc_badge/README.markdown	Thu Sep 06 18:10:44 2018 +0200
@@ -31,6 +31,15 @@
 Details of the HTTP URL is determined by [standard Prosody HTTP server
 configuration][doc:http].
 
+# Example
+
+```lua
+Component "conference.example.com" "muc"
+modules_enabled = {
+    "muc_badge"
+}
+```
+
 # TODO
 
 -   Maybe use the room name instead of a fixed label. Would need dynamic