comparison 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
comparison
equal deleted inserted replaced
3295:4a77c9c2a1cd 3296:a1ef6a46841e
29 `badge_count` with `%d` changed to the number of occupants. 29 `badge_count` with `%d` changed to the number of occupants.
30 30
31 Details of the HTTP URL is determined by [standard Prosody HTTP server 31 Details of the HTTP URL is determined by [standard Prosody HTTP server
32 configuration][doc:http]. 32 configuration][doc:http].
33 33
34 # Example
35
36 ```lua
37 Component "conference.example.com" "muc"
38 modules_enabled = {
39 "muc_badge"
40 }
41 ```
42
34 # TODO 43 # TODO
35 44
36 - Maybe use the room name instead of a fixed label. Would need dynamic 45 - Maybe use the room name instead of a fixed label. Would need dynamic
37 resizing. 46 resizing.