Heads up for all prosody server admins: don't use mod_csi_simple, it is broken and will result in way more pushes and vastly higher battery drain on all iOS devices! At least with Monal, it might impact siskin or snikket as well, but I'm unsure about that (see below).

You can use mod_csi_battery_saver instead, which doesn't have any of these problems.

@Monal Or "Heads up for all Prosody admins: don't use Monal"? The other apps you listed do not suffer from the same issue, they use totally different designs. This campaign (MUC, docs, Mastodon) against mod_csi_simple is spreading FUD.

The issue you filed ( https://issues.prosody.im/1986 ) was much more constructive, but highlights misunderstandings about the relationship between CSI and XEP-0198 in Prosody. We need to discuss things, but you need to climb down from shouting off the rooftops 🙂

#1986 mod_csi_simple broken in smacks hibernation mode (open) - Prosody IM Issue Tracker

@mattj sorry, I didn't want to step on anybody's feet, but as far as I understand the relationship has been for years (mod_csi_pump for example): csi queue -> smacks queue -> tcp connection. Which makes sense given that stanzas reaching the hibernated smacks queue should trigger a push and you don't want pushes for stanzas marked as not important by csi.

1/2

@mattj Given that the current mod_csi_simple, places the queue *after* smacks and solving that either involves major refactoring of csi_simple and/or smacks and push modules, I figured it would take much time to do that and won't be something fixed in the next couple of weeks (especially given the fact that you might rather have more important things to do than fixing csi_simple). So I decided to suggest switching the csi module as solution applicable now. At least until csi_simple was fixed.

@mattj oh and regarding snikket/siskin: I didn't check that again, but I thought even those try to use normal silent pushes delivered to the main app for non-body xep-0357 pushes to keep things up to date and only send app extension reaching high priority pushes when receiving 0357 body-pushes.

But yes, I might be mistaken here, sorry.