view mod_muc_activity/README.md @ 6512:f6c83a8425f2

mod_storage_xmlarchive: Set explicit values for stream parser Wouldn't count on this defaulting to 1MB forever, the default s2s limit seems more sane.
author Kim Alvefur <zash@zash.se>
date Tue, 07 Apr 2026 21:09:00 +0200
parents a0429c322454
children
line wrap: on
line source

---
summary: 'XEP-0502 (MUC Activity Indicator) implementation'
...

This module provides an implementation of [XEP-0502 (MUC Activity Indicator)](https://xmpp.org/extensions/xep-0502.html) for Prosody.

To enable it, load it on a MUC host, for example:

```lua
Component "chat.domain.example" "muc"
    modules_enabled = { "muc_activity" }
```

When this module is loaded, it will expose the average number of messages per hour for all public MUCs.
The number is calculated over a 24 hour window.

Note that this module may impact server performance on servers with many MUCs.