Mercurial > prosody-modules
comparison mod_throttle_unsolicited/README.markdown @ 2082:163d55777ad5
mod_throttle_unsolicited: Limit rate of unsolicited messages sent to non-contacts
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Mon, 14 Mar 2016 13:36:50 +0100 |
parents | |
children | 1424aa8877f0 |
comparison
equal
deleted
inserted
replaced
2081:73096d8d924c | 2082:163d55777ad5 |
---|---|
1 --- | |
2 depends: | |
3 - 'mod\_track\_muc\_joins' | |
4 summary: Limit rate of outgoing unsolicited messages | |
5 ... | |
6 | |
7 Introduction | |
8 ============ | |
9 | |
10 This module limits the rate of outgoing unsolicited messages. A message | |
11 counts as "unsolicited" if the receiving user hasn't added the sending | |
12 user to their roster. | |
13 | |
14 The module depends on [mod\_track\_muc\_joins] in order to allow sent | |
15 messages to joined MUC rooms. | |
16 | |
17 Configuration | |
18 ============= | |
19 | |
20 ``` {.lua} | |
21 unsolicited_messages_per_minute = 10 | |
22 ``` |