Software / code / prosody-modules
Comparison
mod_smacks_noerror/README.markdown @ 2392:d1e975c24545
mod_smacks_noerror: Initial commit
| author | tmolitor <thilo@eightysoft.de> |
|---|---|
| date | Tue, 22 Nov 2016 21:14:47 +0100 |
| child | 2876:ea6b5321db50 |
comparison
equal
deleted
inserted
replaced
| 2391:85d04dd87f14 | 2392:d1e975c24545 |
|---|---|
| 1 --- | |
| 2 labels: | |
| 3 - 'Stage-Alpha' | |
| 4 summary: Monkeypatch mod_smacks to silently discard unacked message stanzas when a hibernation times out | |
| 5 ... | |
| 6 | |
| 7 Introduction | |
| 8 ============ | |
| 9 | |
| 10 By default mod_smacks sends back error stanzas for every unacked message | |
| 11 stanza when the hibernation times out. | |
| 12 This leads to "message not delivered" errors displayed in clients. | |
| 13 | |
| 14 When you are certain that *all* your clients use MAM, this is unneccessary and | |
| 15 confuses users (the message will eventually be delivered via MAM). | |
| 16 | |
| 17 This module therefore monkeypatches mod_smacks to silently drop those | |
| 18 unacked message stanzas instead of sending error replies. | |
| 19 Unacked iq stanzas are still answered with an error reply though. | |
| 20 | |
| 21 Warning | |
| 22 ======= | |
| 23 | |
| 24 You most certainly *should not* use this module if you cannot be certain | |
| 25 that *all* your clients support and use MAM! | |
| 26 | |
| 27 Compatibility | |
| 28 ============= | |
| 29 | |
| 30 ----- ------------------------------------------------------------------- | |
| 31 trunk Untested | |
| 32 0.10 Works | |
| 33 0.9 Untested but should work | |
| 34 0.8 Untested but should work, use version [7693724881b3] of mod_smacks | |
| 35 ----- ------------------------------------------------------------------- | |
| 36 | |
| 37 [7693724881b3]: //hg.prosody.im/prosody-modules/raw-file/7693724881b3/mod_smacks/mod_smacks.lua |