Mercurial > prosody-modules
diff 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 |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/mod_throttle_unsolicited/README.markdown Mon Mar 14 13:36:50 2016 +0100 @@ -0,0 +1,22 @@ +--- +depends: +- 'mod\_track\_muc\_joins' +summary: Limit rate of outgoing unsolicited messages +... + +Introduction +============ + +This module limits the rate of outgoing unsolicited messages. A message +counts as "unsolicited" if the receiving user hasn't added the sending +user to their roster. + +The module depends on [mod\_track\_muc\_joins] in order to allow sent +messages to joined MUC rooms. + +Configuration +============= + +``` {.lua} +unsolicited_messages_per_minute = 10 +```