prosody: Enable additional push notification modules

This improves compatibility with Siskin on iOS, which uses certain
experimental extensions to related XEPs to provide full functionality.
This commit is contained in:
Alex Palaistras 2021-09-21 21:40:29 +01:00
parent b66fab57e5
commit 27201fd195
2 changed files with 4 additions and 5 deletions

View File

@ -8,7 +8,7 @@ RUN echo "deb https://packages.prosody.im/debian bullseye main" > /etc/apt/sourc
echo "deb-src https://packages.prosody.im/debian bullseye main" >> /etc/apt/sources.list.d/prosody.list && \
curl -o - https://prosody.im/files/prosody-debian-packages.key | apt-key add - && \
apt-get update -y && apt-get install -y --no-install-recommends \
lua-dbi-mysql lua-event lua-zlib lua-sec lua-bitop prosody=${VERSION}*
lua-dbi-mysql lua-event lua-zlib lua-sec lua-luaossl lua-bitop prosody=${VERSION}*
RUN mkdir -p /usr/lib/prosody/community-modules && \
hg clone https://hg.prosody.im/prosody-modules /usr/lib/prosody/community-modules

View File

@ -25,10 +25,6 @@ admins = {}
-- For more information see: https://prosody.im/doc/libevent
use_libevent = true
-- Run Prosody under a restricted user and group, to prevent runaway permissions.
prosody_user = "prosody"
prosody_group = "prosody"
-- Prosody will always look in its source directory for modules, but
-- this option allows you to specify additional locations where Prosody
-- will look for modules first. For community modules, see https://modules.prosody.im/
@ -66,6 +62,9 @@ modules_enabled = {
"filter_chatstates"; -- Don't send chat state notifications when client is inactive.
"throttle_presence"; -- Don't send presence information when client is inactive.
"cloud_notify"; -- Support for push notifications.
"cloud_notify_encrypted"; -- Support for experimental encrypted push notifications.
"cloud_notify_priority_tag"; -- Support for the experimental Priority of Notifications specification.
"cloud_notify_filters"; -- Support for experimental push notification filtering.
-- Admin interfaces
--"admin_adhoc"; -- Allows administration via an XMPP client that supports ad-hoc commands