Closed System233 closed 2 years ago
Fix #174 ref #180 MsgId may change after postMessage succeeds, and the local MsgId is invalid in this case.
MsgId
postMessage
https://github.com/wechaty/puppet-wechat/blob/1442099e5cbf107d97f11e99f3dee2e793260aa8/src/puppet-wechat.ts#L1144
I just tested it and it works.
Thank you very much for the fix!
The code will be published with wechaty-puppet-wechat@1.11.5 and above versions.
wechaty-puppet-wechat@1.11.5
Fix #174 ref #180![image](https://user-images.githubusercontent.com/20336040/145789578-46245ee2-8a7f-4da1-96a1-33d2ae0abdde.png)
MsgId
may change afterpostMessage
succeeds, and the localMsgId
is invalid in this case.https://github.com/wechaty/puppet-wechat/blob/1442099e5cbf107d97f11e99f3dee2e793260aa8/src/puppet-wechat.ts#L1144