@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.
@@ -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;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@realvare/based",
3
- "version": "2.7.61",
3
+ "version": "2.7.62",
4
4
  "description": "whatsapp api by sam",
5
5
  "keywords": [
6
6
  "baileys",