From aa9230af328178d59825f16e73c92846e4f05654 Mon Sep 17 00:00:00 2001 From: netaskd Date: Fri, 9 Aug 2019 16:32:28 +0300 Subject: [PATCH] prosody: apply muc_owner_allow_kick.patch to muc_allowners module --- prosody/Dockerfile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/prosody/Dockerfile b/prosody/Dockerfile index c239eb8..dc2fdfd 100644 --- a/prosody/Dockerfile +++ b/prosody/Dockerfile @@ -14,6 +14,7 @@ RUN \ luarocks \ git \ gcc \ + patch \ && luarocks install cyrussasl 1.1.0-1 \ && luarocks install lua-cjson 2.1.0-1 \ && luarocks install luajwtjitsi 1.3-7 \ @@ -36,7 +37,8 @@ RUN \ && rm -rf /tmp/usr /var/cache/apt 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/ /