Software /
code /
prosody-modules
Diff
mod_csi_battery_saver/README.markdown @ 2745:b62cec32680e
mod_csi_battery_saver: Fix bug when smacks is resumed before hibernating
This needs a mod_smacks version at least as new as of commit f70c02c14161
otherwise message reordering could happen
author | tmolitor <thilo@eightysoft.de> |
---|---|
date | Fri, 18 Aug 2017 01:49:16 +0200 |
parent | 2741:69248dcd7cff |
child | 2746:d3a2f4bdaf09 |
line wrap: on
line diff
--- a/mod_csi_battery_saver/README.markdown Fri Aug 18 00:56:38 2017 +0200 +++ b/mod_csi_battery_saver/README.markdown Fri Aug 18 01:49:16 2017 +0200 @@ -8,6 +8,9 @@ properly handled carbon copies, support for handling encrypted messages and correctly handled smacks events. +If smacks is used on the same server this needs at least version [f70c02c14161] +of the smacks module! There could be message reordering on resume otherwise. + Stanzas are queued in a buffer until either an "important" stanza is encountered or the buffer becomes full. Then all queued stanzas are sent at the same time. This way, nothing is lost or reordered while still @@ -26,3 +29,5 @@ [mod_filter_chatstates] or [mod_csi_pump] is *not* supported. The internal stanza buffer of this module is hardcoded to 100 stanzas. + +[f70c02c14161]: //hg.prosody.im/prosody-modules/raw-file/f70c02c14161/mod_smacks/mod_smacks.lua \ No newline at end of file