-
-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
Can not get real-time alias when we modified contact alias in WeChat App by contact.alias(). #1964
Comments
I believe what we should do is to set the payload Could the donut be able to know when there's a contact alias has been modified? If so, you can call the |
The problem is that donut could not know when there's a contact alias has been modified. So that why I create this issue. |
@huan ping |
I believe this problem is more complicated than you think because we should think it deeper from the perspective of the whole framework of Wechaty. I'll take a look at it and let you know when I got any ideas. |
Hi, @su-chang. I'm Dosu, and I'm helping the wechaty team manage their backlog. I wanted to let you know that we are marking this issue as stale. From what I understand, the issue is that the Before we close this issue, we wanted to check with you if it is still relevant to the latest version of the wechaty repository. If it is, please let us know by commenting on the issue. Otherwise, feel free to close the issue yourself or it will be automatically closed in 7 days. Thank you for your contribution to the wechaty repository! |
0. Report Issue Guide
Please search in FAQ List first, and make sure your problem has not been solved before.
Please search in the issue first, and make sure your problem had not been reported before
1. Versions
What is your wechaty version?
Answer:0.39.26
Which puppet are you using for wechaty? (padchat/puppeteer/padpro/...)
Answer:donut
What is your wechaty-puppet-XXX(padchat/puppeteer/) version?
Answer:0.3.19
What is your node version? (run
node --version
)Answer:10.16.0
What os are you using
Answer:MacOS
2. Describe the bug
Give a clear and concise description of what the bug is.
Now we can get alias from payload, but if the payload is not the real-time, it will make the alias not real-time.
Due to
wechaty-puppet-donut
can not post real-time data when something modified, so maybe we should do some change for methodalias()
inContact
.BTW, the method
contactAlias(contactId)
inwechaty-puppet
has never been used due to we get alias from payload rather than this method.3. To Reproduce
This part is very important: if you can not provide any reproduce steps, then the problem will be very hard to be recognized.
Steps to reproduce the behavior:
4. Expected behavior
Give a clear and concise description of what you expected to happen.
change it to:
Reasons
contactAlias(contactId)
make senseI have test it in my local env, everything work as expected so far.
5. Actual behavior
If applicable, add screenshots to help explain your problem. But do not paste log screenshots here.
Can not get the real-time contact alias.
The text was updated successfully, but these errors were encountered: