From 29bee92e792b5388b695f0a5a58cf656ea83e7b5 Mon Sep 17 00:00:00 2001 From: Adhiraj Singh Date: Sat, 28 May 2022 18:47:48 +0530 Subject: [PATCH] fix: remove recipient from ack --- src/Socket/messages-recv.ts | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/Socket/messages-recv.ts b/src/Socket/messages-recv.ts index 35f436a..b97d31f 100644 --- a/src/Socket/messages-recv.ts +++ b/src/Socket/messages-recv.ts @@ -62,10 +62,6 @@ export const makeMessagesRecvSocket = (config: SocketConfig) => { stanza.attrs.participant = attrs.participant } - if(!!attrs.recipient) { - stanza.attrs.recipient = attrs.recipient - } - if(tag !== 'message' && attrs.type && !extraAttrs.type) { stanza.attrs.type = attrs.type }