mirror of
https://github.com/FranP-code/Baileys.git
synced 2025-10-13 00:32:22 +00:00
fix(retry): final commit: linting
This commit is contained in:
@@ -100,12 +100,12 @@ export const makeMessagesRecvSocket = (config: SocketConfig) => {
|
||||
}
|
||||
|
||||
|
||||
if (!!attrs.type && (tag !== "message" || getBinaryNodeChild({ tag, attrs, content }, "unavailable"))) {
|
||||
stanza.attrs.type = attrs.type;
|
||||
if(!!attrs.type && (tag !== 'message' || getBinaryNodeChild({ tag, attrs, content }, 'unavailable'))) {
|
||||
stanza.attrs.type = attrs.type
|
||||
}
|
||||
|
||||
if(tag === "message" && getBinaryNodeChild({ tag, attrs, content }, "unavailable")) {
|
||||
stanza.attrs.from = authState.creds.me!.id;
|
||||
if(tag === 'message' && getBinaryNodeChild({ tag, attrs, content }, 'unavailable')) {
|
||||
stanza.attrs.from = authState.creds.me!.id
|
||||
}
|
||||
|
||||
logger.debug({ recv: { tag, attrs }, sent: stanza.attrs }, 'sent ack')
|
||||
|
||||
Reference in New Issue
Block a user