Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

talker id changes after logout and re-login #68

Open
Sanyuan-sanyuan opened this issue Oct 22, 2023 · 0 comments
Open

talker id changes after logout and re-login #68

Sanyuan-sanyuan opened this issue Oct 22, 2023 · 0 comments

Comments

@Sanyuan-sanyuan
Copy link

Sanyuan-sanyuan commented Oct 22, 2023

Recently I code at my labtop and test at respberry pi. I pre-defined some contacts as triggers( only reply when A send me messages). I am using talker id from message.payload. But in most case there is no reply due to the talker id has been changed.
First, I login and use another account to send test message, then I logout and try again. The talker id's are different.
Is this normal that talker id keeps changing or how can i target a contact if not using talker id?

here are logs of messages:
First time:
WechatifiedMessageImpl {
_events: [Object: null prototype] {},
_eventsCount: 0,
_maxListeners: undefined,
id: '1965***',
payload: {
id: '1965***',
talkerId: '@E69C***',
text: 'test',
timestamp: 1697***,
type: 7,
listenerId: '@0c56***'
},
[Symbol(kCapture)]: false
}

Second Time:
WechatifiedMessageImpl {
_events: [Object: null prototype] {},
_eventsCount: 0,
_maxListeners: undefined,
id: '5645***',
payload: {
id: '5645***',
talkerId: '@d5e7***',
text: 'lk',
timestamp: 1697***,
type: 7,
listenerId: '@CDC1***'
},
[Symbol(kCapture)]: false
}

@Sanyuan-sanyuan Sanyuan-sanyuan changed the title talker id talker id changes after logout and re-login Oct 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant