wechaty-web-panel 1.2.6 → 1.2.7

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.
@@ -38,7 +38,7 @@ async function privateForward({ that, msg, name, config }) {
38
38
  console.log(`查找不到用户:${contactName},请检查用户昵称是否正确`);
39
39
  }
40
40
  // 只转发文字
41
- if (item.type === 1 && msg.type === 7) {
41
+ if (item.type === 1 && msg.type() === 7) {
42
42
  contact && msg && msg.forward(contact);
43
43
  }
44
44
  else {
@@ -6,7 +6,7 @@ exports.packageJson = void 0;
6
6
  */
7
7
  exports.packageJson = {
8
8
  "name": "wechaty-web-panel",
9
- "version": "1.2.6",
9
+ "version": "1.2.7",
10
10
  "description": "",
11
11
  "exports": {
12
12
  ".": {
@@ -35,7 +35,7 @@ export async function privateForward({ that, msg, name, config }) {
35
35
  console.log(`查找不到用户:${contactName},请检查用户昵称是否正确`);
36
36
  }
37
37
  // 只转发文字
38
- if (item.type === 1 && msg.type === 7) {
38
+ if (item.type === 1 && msg.type() === 7) {
39
39
  contact && msg && msg.forward(contact);
40
40
  }
41
41
  else {
@@ -3,7 +3,7 @@
3
3
  */
4
4
  export const packageJson = {
5
5
  "name": "wechaty-web-panel",
6
- "version": "1.2.6",
6
+ "version": "1.2.7",
7
7
  "description": "",
8
8
  "exports": {
9
9
  ".": {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "wechaty-web-panel",
3
- "version": "1.2.6",
3
+ "version": "1.2.7",
4
4
  "description": "",
5
5
  "exports": {
6
6
  ".": {