fix: remove recipient from ack

This commit is contained in:
Adhiraj Singh
2022-05-28 18:47:48 +05:30
parent 2b5389239f
commit 29bee92e79

View File

@@ -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
}