wx2tg-puppet 2.0.0 → 2.0.1

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.
Files changed (2) hide show
  1. package/dist/index.js +1 -1
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -325,7 +325,7 @@ class WxBot extends events_1.EventEmitter {
325
325
  if (!contactE) {
326
326
  contactE = new ContactEntity_1.ContactEntity();
327
327
  }
328
- contactE.nickName = message._pushContent.split(':')[0].slice(0, -1);
328
+ contactE.nickName = msg.PushContent.split(':')[0].slice(0, -1);
329
329
  contactE.userName = message.fromId;
330
330
  contactE.smallHeadImgUrl = 'https://raw.githubusercontent.com/finalpi/wechat2tg/wx2tg-pad/qywx.jpg';
331
331
  contactE.bigHeadImgUrl = 'https://raw.githubusercontent.com/finalpi/wechat2tg/wx2tg-pad/qywx.jpg';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "wx2tg-puppet",
3
- "version": "2.0.0",
3
+ "version": "2.0.1",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "files": [