You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Chatmail servers provide support for sending platform-native push notifications on iOS and Android.
Upon set of the /private/devicetoken\tuser@host.tld key (with a notification token), append that token to a table linking tokens to user accounts. Caution: all tokens set with this method should be preserved! This allows users to have multiple devices. The token should be treated as an opaque string with no meaning, which must be preserved exactly and sent exactly.
Add configuration option in domains.conf to allow the administrator to specify a notification server URL. Default to https://notifications.delta.chat/notify if not set.
Upon receipt of a new message, collect all of the tokens for that user from the database and enqueue requests to the configured URL with each notification in the body of the request. It should make one request per token. The requests should be retried via exponential backoff up to a deadline of 5 hours after enqueueing.
Ensure notification tokens are deleted when an account is deleted.
(These two are not strictly notification related, but they require similar changes, so it would be reasonable to do them at the same time.)
Add configuration option in domains.conf to allow the administrator to specify an Iroh relay server URL.
Hook into reads of the /shared/vendor/deltachat/irohrelay key to return the configured Iroh relay server URL from the settings.
The text was updated successfully, but these errors were encountered:
Anyway, it will take time before a push mechanism is standardized and before it makes it into software, so we shouldn't wait for it. Just wanted to mention potential future approaches for context.
This is part of a series of issues tracking chatmail support in Mox.
Chatmail servers provide support for sending platform-native push notifications on iOS and Android.
/private/devicetoken\tuser@host.tld
key (with a notification token), append that token to a table linking tokens to user accounts. Caution: all tokens set with this method should be preserved! This allows users to have multiple devices. The token should be treated as an opaque string with no meaning, which must be preserved exactly and sent exactly.https://notifications.delta.chat/notify
if not set.(These two are not strictly notification related, but they require similar changes, so it would be reasonable to do them at the same time.)
/shared/vendor/deltachat/irohrelay
key to return the configured Iroh relay server URL from the settings.The text was updated successfully, but these errors were encountered: