mirror of
https://github.com/deuill/coreos-home-server.git
synced 2024-09-21 13:40:45 +00:00
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:
parent
b66fab57e5
commit
27201fd195
@ -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 && \
|
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 - && \
|
curl -o - https://prosody.im/files/prosody-debian-packages.key | apt-key add - && \
|
||||||
apt-get update -y && apt-get install -y --no-install-recommends \
|
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 && \
|
RUN mkdir -p /usr/lib/prosody/community-modules && \
|
||||||
hg clone https://hg.prosody.im/prosody-modules /usr/lib/prosody/community-modules
|
hg clone https://hg.prosody.im/prosody-modules /usr/lib/prosody/community-modules
|
||||||
|
@ -25,10 +25,6 @@ admins = {}
|
|||||||
-- For more information see: https://prosody.im/doc/libevent
|
-- For more information see: https://prosody.im/doc/libevent
|
||||||
use_libevent = true
|
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
|
-- Prosody will always look in its source directory for modules, but
|
||||||
-- this option allows you to specify additional locations where Prosody
|
-- this option allows you to specify additional locations where Prosody
|
||||||
-- will look for modules first. For community modules, see https://modules.prosody.im/
|
-- 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.
|
"filter_chatstates"; -- Don't send chat state notifications when client is inactive.
|
||||||
"throttle_presence"; -- Don't send presence information when client is inactive.
|
"throttle_presence"; -- Don't send presence information when client is inactive.
|
||||||
"cloud_notify"; -- Support for push notifications.
|
"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 interfaces
|
||||||
--"admin_adhoc"; -- Allows administration via an XMPP client that supports ad-hoc commands
|
--"admin_adhoc"; -- Allows administration via an XMPP client that supports ad-hoc commands
|
||||||
|
Loading…
Reference in New Issue
Block a user