17444cc3bd
This avoids the app needing to gain logic to opt-in to push notifications. Such logic may be fragile, and introduce additional traffic and round-trips that would hurt performance. Note that this will trigger pushes even to users who only use Android or non-mobile devices. That should cause no issues, and the impact would be minor. Also considering that non-iOS devices usually remain online most of the time anyway. Not accounted for in this commit is the MUC notification filtering side of things. By default the MUC will push all messages, and mod_cloud_notify(_filters) will allow all of them through to the device unless the user explicitly configures otherwise within the app. If the server can detect whether a MUC is public or private, it can make the default behaviour more sensible (maybe when adding bookmarks or something?). In any case, public channels are not a primary use-case for Snikket and can easily be configured manually in the app for now. |
||
---|---|---|
.. | ||
certs.yml | ||
coturn.yml | ||
cron.yml | ||
mail.yml | ||
prosody.yml | ||
scripts.yml | ||
supervisor.yml |