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

PuppetPadchat: make contact has a function with real wechat ID #1423

Closed
kis87988 opened this issue Jun 30, 2018 · 6 comments
Closed

PuppetPadchat: make contact has a function with real wechat ID #1423

kis87988 opened this issue Jun 30, 2018 · 6 comments

Comments

@kis87988
Copy link
Contributor

The original Contact.id can get the unique wechat ID, but that is not the one we usually get (such as wxid_ )
After we test PuppetPadchat. the log display show we can get the real wechat ID.
If possible, can we implement a function for that as well?

@lijiarui
Copy link
Member

Could you show the real wechat ID log here?

If log has the real wechat ID, then we probably to implement this function.

@kis87988
Copy link
Contributor Author

2018-06-30 06:45:19 | stdout | 06:45:19 SILL PuppetPadchatManager contactRawPayload(**wxid_ex1**)
2018-06-30 06:45:19 | stdout | 06:45:19 SILL PuppetPadchat contactRawPayload(**wxid_ex1**)
2018-06-30 06:45:19 | stdout | 06:45:19 SILL Contact ready() @ Puppet#0<PuppetPadchat>(default)/PuppetPadchat#0
2018-06-30 06:45:19 | stdout | 06:45:19 SILL PuppetPadchatManager contactRawPayload(**wxid_ex2**)
2018-06-30 06:45:19 | stdout | 06:45:19 SILL PuppetPadchat contactRawPayload(**wxid_ex2**)
2018-06-30 06:45:19 | stdout | 06:45:19 SILL Contact ready() @ Puppet#0<PuppetPadchat>(default)/PuppetPadchat#0

NOTE: wxid_ex1,wxid_ex2 is an example for show up in the log.

Actually, that is also not real wechat id, but it could using this to search friends by phone (but not the wechat id show on the phone) weird..... 😩

@lijiarui
Copy link
Member

lijiarui commented Jul 1, 2018

Actually, that is also not real wechat id, but it could using this to search friends by phone (but not the wechat id show on the phone)

Yes, you are right. This why I asked you for log :)

Maybe this will be implemented in the future puppet, but not the priority now.

@huan
Copy link
Member

huan commented Jul 12, 2018

@kis87988 Cloud you please close this issue if your question had been answered?

@kis87988
Copy link
Contributor Author

Sorry, I thought we are going to implement that later on.
Yea, I am going to close this issue.

@huan
Copy link
Member

huan commented Jul 12, 2018

Thanks.

We have a method Contact.weixin() which should do this job by design, however, whether we can get this data depends on the Puppet implementation.

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

3 participants