@ryuu-reinzz/haruka-lib 3.2.3 → 3.2.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/main/socket.js +1 -3
- package/package.json +1 -1
package/main/socket.js
CHANGED
|
@@ -398,7 +398,7 @@ export default function addProperty(socket, baileys) {
|
|
|
398
398
|
sourceUrl: contextInfo.externalAdReply.sourceUrl || contextInfo.externalAdReply.url || "",
|
|
399
399
|
thumbnailUrl: contextInfo.externalAdReply.thumbnailUrl || "",
|
|
400
400
|
renderLargerThumbnail: contextInfo.externalAdReply.renderLargerThumbnail || false,
|
|
401
|
-
showAdAttribution: contextInfo.externalAdReply.showAdAttribution
|
|
401
|
+
showAdAttribution: contextInfo.externalAdReply.showAdAttribution || false,
|
|
402
402
|
containsAutoReply: contextInfo.externalAdReply.containsAutoReply || false,
|
|
403
403
|
...(contextInfo.externalAdReply.mediaUrl && {
|
|
404
404
|
mediaUrl: contextInfo.externalAdReply.mediaUrl,
|
|
@@ -415,8 +415,6 @@ export default function addProperty(socket, baileys) {
|
|
|
415
415
|
mentionedJid: options.mentionedJid,
|
|
416
416
|
}),
|
|
417
417
|
};
|
|
418
|
-
} else if (content.contextInfo.mentionedJid || mentionedJid) {
|
|
419
|
-
messageContent.contextInfo = contextInfo.mentionedJid ? contextInfo.mentionedJid : mentionedJid ? mentionedJid : []
|
|
420
418
|
};
|
|
421
419
|
|
|
422
420
|
const payload = proto.Message.InteractiveMessage.create(messageContent);
|