Fix: contact_changed event to get the correct newId and oldId#5664
Open
khsoh wants to merge 3 commits intowwebjs:mainfrom
Open
Fix: contact_changed event to get the correct newId and oldId#5664khsoh wants to merge 3 commits intowwebjs:mainfrom
khsoh wants to merge 3 commits intowwebjs:mainfrom
Conversation
a2347c8 to
114bd91
Compare
114bd91 to
d51de2a
Compare
a4e4d9e to
7c4c3dd
Compare
be164f6 to
3e2b985
Compare
7b969c2 to
8c46898
Compare
8c46898 to
3d447c0
Compare
3d447c0 to
6168e52
Compare
c37ca09 to
e6185f4
Compare
e6185f4 to
6b4eef2
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
PR Details
The newId and oldId returned by the contact_changed event was incorrect for an individual chat.
Description
My bot received a contact_changed event. The oldId and newId were incorrect. After I had dumped out the message, I noted where these fields could be retrieved
Related Issue(s)
Motivation and Context
Fix newId and oldId for contact_changed event
How Has This Been Tested
Environment
Types of changes
Checklist