@realvare/based 2.7.61 → 2.7.62
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/lib/Socket/messages-recv.js +1 -10
- package/package.json +1 -1
|
@@ -871,17 +871,8 @@ const makeMessagesRecvSocket = (config) => {
|
|
|
871
871
|
var _a, _b, _c, _d, _e, _f;
|
|
872
872
|
await decrypt();
|
|
873
873
|
// if the message is from a group, and contains mentions, resolve the LIDs to JIDs
|
|
874
|
-
const contextInfo = msg.message?.extendedTextMessage?.contextInfo;
|
|
875
|
-
if (contextInfo) {
|
|
876
|
-
// Unconditionally resolve participant and mentioned JIDs
|
|
877
|
-
if (contextInfo.participant) {
|
|
878
|
-
contextInfo.participant = resolveJid(contextInfo.participant);
|
|
879
|
-
}
|
|
880
|
-
if (contextInfo.mentionedJid) {
|
|
881
|
-
contextInfo.mentionedJid = contextInfo.mentionedJid.map(resolveJid);
|
|
882
|
-
}
|
|
883
|
-
}
|
|
884
874
|
if ((0, WABinary_1.isJidGroup)(msg.key.remoteJid)) {
|
|
875
|
+
const contextInfo = msg.message?.extendedTextMessage?.contextInfo;
|
|
885
876
|
if (contextInfo) {
|
|
886
877
|
const participant = contextInfo.participant;
|
|
887
878
|
const mentionedJid = contextInfo.mentionedJid;
|