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

请求添加给好友添加备注的功能 #141

Open
Cassius0924 opened this issue Jan 23, 2024 · 6 comments
Open

请求添加给好友添加备注的功能 #141

Cassius0924 opened this issue Jan 23, 2024 · 6 comments
Labels
enhancement New feature or request

Comments

@Cassius0924
Copy link
Contributor

提出问题的背景

我发现微信好友的ID会时不时发生变化,每次重新登录机器人(重启Docker),微信好友的ID都有几率发生变化。

因此我无法用微信ID作为好友的唯一标识符,我需要找到一个稳定且可靠的方式来识别每一个好友。

且目前 API 支持通过备注名发送消息。

描述下你期望的方案

我希望能添加一个新的功能,即给好友设定备注。这样,即使好友的微信ID发生变化,我也可以通过备注来唯一地识别他们。目前,我只能通过微信APP手动添加备注,这个过程既繁琐又耗时。希望机器人可以自动完成这个任务。

其他信息
微信ID变化,以下四个微信ID均为同一个用户:

CleanShot 2024-01-23 at 16 24 23@2x

@Cassius0924 Cassius0924 changed the title 请求添加自动给好友添加备注的功能 请求添加给好友添加备注的功能 Jan 23, 2024
@danni-cool
Copy link
Owner

web协议id不固定是确定的,至于添加备注这个我得研究下

@danni-cool danni-cool added the enhancement New feature or request label Jan 23, 2024
@i990099
Copy link

i990099 commented Jan 25, 2024

[ERROR] -
AssertionError: 400 != 400 扫码登录时报这个错误,是什么意思呢?哪里出问题了

@Cassius0924
Copy link
Contributor Author

请尝试重启 Docker,而且你不应该在这个 Issue 提与此 Issue 主题不符的问题,你应该新建 Issue

[ERROR] - AssertionError: 400 != 400 扫码登录时报这个错误,是什么意思呢?哪里出问题了

@danni-cool danni-cool mentioned this issue Feb 4, 2024
16 tasks
@danni-cool danni-cool linked a pull request Feb 4, 2024 that will close this issue
16 tasks
@danni-cool
Copy link
Owner

有无考虑过单纯api形式增加备注还是需要一些关键信息去辅助判断是否是这个人,比如同样是Daniel,何时会出现4个id对应同一个人?这样即使通过昵称去设置备注也没法找到唯一的人,可能需要通过临时id去找人?

@Cassius0924
Copy link
Contributor Author

对,就是希望有一个API可以设置某位好友的备注。

@danni-cool danni-cool removed a link to a pull request Feb 19, 2024
16 tasks
@danni-cool
Copy link
Owner

danni-cool commented Feb 24, 2024

该功能holding, 2.7.0 将会是最后一个版本 #144

后面精力都会放到windows协议上去实现

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants