diff --git a/Dockerfile b/Dockerfile index 28e04b249..2369f31b0 100644 --- a/Dockerfile +++ b/Dockerfile @@ -17,7 +17,7 @@ RUN npm ci --silent # [WIDGET-WORKS] Apply Baileys patch for LID group send fix COPY ./patches ./patches -RUN patch -p1 < patches/baileys+6.7.19+lid-group-send.patch +RUN patch -p0 < patches/baileys+6.7.19+lid-group-send.patch COPY ./src ./src COPY ./public ./public diff --git a/patches/baileys+6.7.19+lid-group-send.patch b/patches/baileys+6.7.19+lid-group-send.patch index e3e29d7f1..5584e773c 100644 --- a/patches/baileys+6.7.19+lid-group-send.patch +++ b/patches/baileys+6.7.19+lid-group-send.patch @@ -1,8 +1,6 @@ -diff --git a/node_modules/baileys/lib/Socket/messages-send.js b/node_modules/baileys/lib/Socket/messages-send.js -index 1234567..abcdefg 100644 --- a/node_modules/baileys/lib/Socket/messages-send.js +++ b/node_modules/baileys/lib/Socket/messages-send.js -@@ -360,8 +360,14 @@ export const makeMessagesSocket = (config) => { +@@ -360,8 +360,14 @@ meId }); const senderKeyJids = [];