From 9b75d8705b6faf5e82a9a19a5e4fcc73be83c7a7 Mon Sep 17 00:00:00 2001 From: colin Date: Thu, 22 Dec 2022 14:12:15 +0000 Subject: [PATCH] ejabberd: enable push notifications (verified working on iOS/Modal IM) --- hosts/servo/services/ejabberd.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/hosts/servo/services/ejabberd.nix b/hosts/servo/services/ejabberd.nix index 4470cdf0..60f990d9 100644 --- a/hosts/servo/services/ejabberd.nix +++ b/hosts/servo/services/ejabberd.nix @@ -329,6 +329,12 @@ mod_ping: {} mod_privacy: {} # deprecated, but required for `ejabberctl export_piefxis` mod_private: {} # allow local clients to persist arbitrary data on my server + # push notifications to services integrated with e.g. Apple/Android. + # default is for a maximum amount of PII to be withheld, since these push notifs + # generally traverse 3rd party services. can opt to include message body, etc, though. + mod_push: {} + # i don't fully understand what this does, but it seems aimed at making push notifs more reliable. + mod_push_keepalive: {} mod_roster: versioning: true # docs: