Mercurial > prosody-modules
annotate mod_muc_activity/README.md @ 6259:d73cae8d80ce
mod_cloud_notify: actually fix labels
diff --git a/mod_cloud_notify/README.md b/mod_cloud_notify/README.md
--- a/mod_cloud_notify/README.md
+++ b/mod_cloud_notify/README.md
@@ -1,7 +1,7 @@
----
--labels:
--- 'Stage-Beta'
--summary: 'XEP-0357: Cloud push notifications'
+labels:
+- 'Stage-Beta'
+summary: 'XEP-0357: Cloud push notifications'
----
# Introduction
| author | Menel <menel@snikket.de> |
|---|---|
| date | Fri, 13 Jun 2025 10:48:20 +0200 |
| parents | a0429c322454 |
| children |
| rev | line source |
|---|---|
|
6105
a0429c322454
mod_muc_activity: create module
Jonas Schäfer <jonas@wielicki.name>
parents:
diff
changeset
|
1 --- |
|
a0429c322454
mod_muc_activity: create module
Jonas Schäfer <jonas@wielicki.name>
parents:
diff
changeset
|
2 summary: 'XEP-0502 (MUC Activity Indicator) implementation' |
|
a0429c322454
mod_muc_activity: create module
Jonas Schäfer <jonas@wielicki.name>
parents:
diff
changeset
|
3 ... |
|
a0429c322454
mod_muc_activity: create module
Jonas Schäfer <jonas@wielicki.name>
parents:
diff
changeset
|
4 |
|
a0429c322454
mod_muc_activity: create module
Jonas Schäfer <jonas@wielicki.name>
parents:
diff
changeset
|
5 This module provides an implementation of [XEP-0502 (MUC Activity Indicator)](https://xmpp.org/extensions/xep-0502.html) for Prosody. |
|
a0429c322454
mod_muc_activity: create module
Jonas Schäfer <jonas@wielicki.name>
parents:
diff
changeset
|
6 |
|
a0429c322454
mod_muc_activity: create module
Jonas Schäfer <jonas@wielicki.name>
parents:
diff
changeset
|
7 To enable it, load it on a MUC host, for example: |
|
a0429c322454
mod_muc_activity: create module
Jonas Schäfer <jonas@wielicki.name>
parents:
diff
changeset
|
8 |
|
a0429c322454
mod_muc_activity: create module
Jonas Schäfer <jonas@wielicki.name>
parents:
diff
changeset
|
9 ```lua |
|
a0429c322454
mod_muc_activity: create module
Jonas Schäfer <jonas@wielicki.name>
parents:
diff
changeset
|
10 Component "chat.domain.example" "muc" |
|
a0429c322454
mod_muc_activity: create module
Jonas Schäfer <jonas@wielicki.name>
parents:
diff
changeset
|
11 modules_enabled = { "muc_activity" } |
|
a0429c322454
mod_muc_activity: create module
Jonas Schäfer <jonas@wielicki.name>
parents:
diff
changeset
|
12 ``` |
|
a0429c322454
mod_muc_activity: create module
Jonas Schäfer <jonas@wielicki.name>
parents:
diff
changeset
|
13 |
|
a0429c322454
mod_muc_activity: create module
Jonas Schäfer <jonas@wielicki.name>
parents:
diff
changeset
|
14 When this module is loaded, it will expose the average number of messages per hour for all public MUCs. |
|
a0429c322454
mod_muc_activity: create module
Jonas Schäfer <jonas@wielicki.name>
parents:
diff
changeset
|
15 The number is calculated over a 24 hour window. |
|
a0429c322454
mod_muc_activity: create module
Jonas Schäfer <jonas@wielicki.name>
parents:
diff
changeset
|
16 |
|
a0429c322454
mod_muc_activity: create module
Jonas Schäfer <jonas@wielicki.name>
parents:
diff
changeset
|
17 Note that this module may impact server performance on servers with many MUCs. |
