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 }