CSI is enabled and configured to delay unimportant stanzas
a client supports it
a client goes inactive
activity occurs that queues a list opf stanzas for the client
Then:
the client misses stanzas
MUC membership appears to drift over time
Investigation showed that stanzas weren’t being delivered whilst Inactive, but that the queue was being emptied. Investigation also showed that disabling the delay resolved the problem.
Affects pre-release 4.8.0 only.
When:
CSI is enabled and configured to delay unimportant stanzas
a client supports it
a client goes inactive
activity occurs that queues a list opf stanzas for the client
Then:
the client misses stanzas
MUC membership appears to drift over time
Investigation showed that stanzas weren’t being delivered whilst Inactive, but that the queue was being emptied. Investigation also showed that disabling the delay resolved the problem.
Could this be the problem?
https://github.com/igniterealtime/Openfire/blob/382ca244cf04b212dddaf1549460080a45944b57/xmppserver/src/main/java/org/jivesoftware/openfire/csi/CsiManager.java#L138-L146
Is this only flushing one queued stanza when the client becomes Active?