From 9ffc950b5296374f387bfc689806d7af717bb78a Mon Sep 17 00:00:00 2001 From: Cullum Smith Date: Tue, 25 Mar 2025 17:34:44 -0400 Subject: add unified push to prosody --- files/usr/local/etc/prosody/prosody.cfg.lua.xmpp_server | 7 ++++++- scripts/hostclass/xmpp_server | 1 + site | 2 +- vars/hostclass/pkg_repository | 1 - 4 files changed, 8 insertions(+), 3 deletions(-) diff --git a/files/usr/local/etc/prosody/prosody.cfg.lua.xmpp_server b/files/usr/local/etc/prosody/prosody.cfg.lua.xmpp_server index e628db8..9c4e2bc 100644 --- a/files/usr/local/etc/prosody/prosody.cfg.lua.xmpp_server +++ b/files/usr/local/etc/prosody/prosody.cfg.lua.xmpp_server @@ -40,6 +40,7 @@ modules_enabled = { "groups"; -- Shared roster support "csi_battery_saver"; "reload_modules"; + "unified_push"; } reload_modules = { "groups", "tls" } @@ -98,10 +99,14 @@ http_file_share_expires_after = ${prosody_upload_expiration} http_file_share_daily_quota = ${prosody_upload_quota} http_file_share_global_quota = ${prosody_upload_quota} +Component "${prosody_push_fqdn}" "unified_push" + unified_push_backend = "storage" + http_host = "${prosody_public_fqdn}" + $(for vhost in $prosody_domains; do cat <