File

mod_muc_restrict_pm/README.md @ 6057:cc665f343690

mod_firewall: SUBSCRIBED: Flip subscription check to match documentation The documentation claims that this condition checks whether the recipient is subscribed to the sender. However, it was using the wrong method, and actually checking whether the sender was subscribed to the recipient. A quick poll of folk suggested that the documentation's approach is the right one, so this should fix the code to match the documentation. This should also fix the bundled anti-spam rules from blocking presence from JIDs that you subscribe do (but don't have a mutual subscription with).
author Matthew Wild <mwild1@gmail.com>
date Fri, 22 Nov 2024 13:50:48 +0000
parent 6003:fe081789f7b5
child 6069:d62bae2ac557
line wrap: on
line source

---
labels:
- 'Stage-Alpha'
summary: Limit who may send and recieve MUC PMs
...

# Introduction

This module adds configurable MUC options that restrict and limit who may send MUC PMs to other users.

If a user does not have permissions to send a MUC PM, the MUC will send a policy violation stanza.

# Setup

```lua
Component "conference.example.org" "muc"

modules_enabled = {
	"muc_restrict_pm";
}
```

Compatibility
=============

  ----- -----
  0.12  Works
  0.11  Probably does not work
  ----- -----