view mod_ping_muc/README.md @ 4944:e67cc71727ca

mod_rest: Fix attempt to index nil in handling of single iq response Fix handling of many responses, break handling of single response :(
author Kim Alvefur <zash@zash.se>
date Tue, 17 May 2022 11:44:44 +0200
parents ed9aa80c989d
children b1c4e78e669e
line wrap: on
line source

---
summary: Yet another MUC reliability module
rockspec:
  dependencies:
  - mod_track_muc_joins
labels:
- Stage-Alpha
...


This module reacts to [server-to-server][doc:s2s] connections closing by
performing [XEP-0410: MUC Self-Ping] from the server side to check if
users are still connected to MUCs they have joined according
[mod_track_muc_joins].  If it can't be confirmed that the user is still
joined then their client devices are notified about this allowing them
to re-join.

# Installing

```
prosodyctl install mod_ping_muc
```

# Configuring

```lua
modules_enabled = {
	-- other modules etc
	"track_muc_joins",
	"ping_muc",
}
```

# Compatibility

Requires prosody **trunk**