# HG changeset patch # User Kim Alvefur # Date 1536250244 -7200 # Node ID a1ef6a46841ebcd721d467acbb627e4f5b7ba67a # Parent 4a77c9c2a1cdaa7909dea3a91a8143666b326070 mod_muc_badge/README: Add an example diff -r 4a77c9c2a1cd -r a1ef6a46841e mod_muc_badge/README.markdown --- 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