wx2tg-puppet 1.0.4 → 1.0.6
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/dist/action/common.js +1 -1
- package/dist/core/Message.js +1 -2
- package/package.json +1 -1
package/dist/action/common.js
CHANGED
|
@@ -231,7 +231,7 @@ const revoke = (content) => __awaiter(void 0, void 0, void 0, function* () {
|
|
|
231
231
|
"ClientMsgId": content.msgId,
|
|
232
232
|
"CreateTime": content.createTime,
|
|
233
233
|
"NewMsgId": content.newMsgId,
|
|
234
|
-
"
|
|
234
|
+
"ToUserName": content.toWxid,
|
|
235
235
|
"Wxid": (config === null || config === void 0 ? void 0 : config.wxid) || ''
|
|
236
236
|
});
|
|
237
237
|
});
|
package/dist/core/Message.js
CHANGED
|
@@ -444,8 +444,7 @@ class Message {
|
|
|
444
444
|
* The time it was created.
|
|
445
445
|
*/
|
|
446
446
|
date() {
|
|
447
|
-
|
|
448
|
-
return new Date(this.msg.CreateTime * 1000);
|
|
447
|
+
return new Date(this.msg.CreateTime);
|
|
449
448
|
}
|
|
450
449
|
/**
|
|
451
450
|
* Extract the media file from the message, and put it into the FileBox.
|