Mercurial > prosody-modules
comparison mod_csi_battery_saver/README.markdown @ 2754:d1aa5fc005f7
mod_csi_battery_saver: Consider chat markers and outgoing carbon copies as important.
Both are used by some clients (eg. Conversations) to update system notifications.
author | tmolitor <thilo@eightysoft.de> |
---|---|
date | Sun, 27 Aug 2017 21:11:58 +0200 |
parents | ff0495909d4e |
children | 6b0db0f2d57a |
comparison
equal
deleted
inserted
replaced
2751:6b710a8bdf03 | 2754:d1aa5fc005f7 |
---|---|
15 encountered or the buffer becomes full. Then all queued stanzas are sent | 15 encountered or the buffer becomes full. Then all queued stanzas are sent |
16 at the same time. This way, nothing is lost or reordered while still | 16 at the same time. This way, nothing is lost or reordered while still |
17 allowing for power usage savings by not requiring mobile clients to | 17 allowing for power usage savings by not requiring mobile clients to |
18 bring up their radio for unimportant stanzas. | 18 bring up their radio for unimportant stanzas. |
19 | 19 |
20 `IQ` stanzas, and `message` stanzas containing a body or being encypted | 20 `IQ` stanzas, and `message` stanzas containing a body or being encrypted, |
21 and all nonzas are considered important. | 21 chat markers (see [XEP-0333]) and all nonzas are considered important. |
22 If the config option `csi_battery_saver_filter_muc` is set to true, | 22 If the config option `csi_battery_saver_filter_muc` is set to true, |
23 groupchat messages must set a subject or have the user's username or nickname | 23 groupchat messages must set a subject or have the user's username or nickname |
24 in their messages to count as "important", if the config is false (default), all | 24 in their messages (or be encrypted) to count as "important", if this option |
25 groupchat messages havin a body or being encrypted are considered "important". | 25 is set to false (default), all groupchat messages having a body |
26 or being encrypted are considered "important". | |
26 `Presence` stanzas are always considered not "important". | 27 `Presence` stanzas are always considered not "important". |
27 | 28 |
28 All buffered stanzas that allow timestamping are properly stamped to | 29 All buffered stanzas that allow timestamping are properly stamped to |
29 reflect their original send time, see [XEP-0203]. | 30 reflect their original send time, see [XEP-0203]. |
30 | 31 |