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

最新版本Contact没有uin字段了吗? #1276

Closed
Astlvk opened this Issue Jun 4, 2018 · 4 comments

Comments

Projects
None yet
2 participants
@Astlvk
Copy link

Astlvk commented Jun 4, 2018

version 0.15.97
打印后找不到uin了 不知还有这个字段吗
想用来作联系人的唯一值的。

@huan

This comment has been minimized.

Copy link
Member

huan commented Jun 4, 2018

You can use yourContact.id as the unique id for the contact after v0.15.

uin had been dropped because we have to encapsulate the data payload in order to support different Puppet implementations.

@huan huan added the question label Jun 4, 2018

@Astlvk

This comment has been minimized.

Copy link
Author

Astlvk commented Jun 4, 2018

联系人 id 的话好像每次重新登陆也都会变动?

@huan

This comment has been minimized.

Copy link
Member

huan commented Jun 4, 2018

The answer depends.

  • Yes - id will change everytime you re-login: if you are using PuppetPuppeteer, which is based on the web API.
  • No - id will keep the same across different login sessions: if you use the latest PuppetPadchat

Please check out the latest code from the master branch and have a look, also welcome to join the alpha test!

See: #1245

@huan huan removed this from the v0.16 Connecting with the Cloud & App milestone Jun 4, 2018

@Astlvk

This comment has been minimized.

Copy link
Author

Astlvk commented Jun 4, 2018

thx

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment