prosody: apply muc_owner_allow_kick.patch to muc_allowners module

pull/135/head
netaskd 5 years ago committed by Saúl Ibarra Corretgé
parent dd851117a8
commit aa9230af32
  1. 4
      prosody/Dockerfile

@ -14,6 +14,7 @@ RUN \
luarocks \ luarocks \
git \ git \
gcc \ gcc \
patch \
&& luarocks install cyrussasl 1.1.0-1 \ && luarocks install cyrussasl 1.1.0-1 \
&& luarocks install lua-cjson 2.1.0-1 \ && luarocks install lua-cjson 2.1.0-1 \
&& luarocks install luajwtjitsi 1.3-7 \ && luarocks install luajwtjitsi 1.3-7 \
@ -36,7 +37,8 @@ RUN \
&& rm -rf /tmp/usr /var/cache/apt && rm -rf /tmp/usr /var/cache/apt
RUN \ RUN \
sed -i s/hook/hook_global/g /prosody-plugins/mod_auth_token.lua sed -i s/hook/hook_global/g /prosody-plugins/mod_auth_token.lua \
&& patch -d /usr/lib/prosody/modules/muc -p0 < /prosody-plugins/muc_owner_allow_kick.patch
COPY rootfs/ / COPY rootfs/ /

Loading…
Cancel
Save