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

[Bug]: 部分单向好友的消息无法成功发送,能收到对方消息,但是发送消息的时候提示要添加对方为好友 #2130

Open
4 tasks done
waner1998 opened this issue May 6, 2023 · 2 comments
Labels
bug? The issue author think this is a bug

Comments

@waner1998
Copy link

请确保您已阅读以上注意事项,并勾选下方的确认框。

  • 我已经仔细阅读上述教程和 "提问前需知"
  • 我已经使用 dev分支版本 测试过,问题依旧存在。
  • 我已经在 Issue Tracker 中找过我要提出的问题,没有找到相同问题的ISSUE。
  • 我已知晓并同意,此处仅用于汇报程序中存在的问题。若这个 Issue 是关于其他非程序本身问题,则我的 Issue 可能会被无条件自动关闭或/并锁定。(这些问题应当在 Discussion 板块提出。)

go-cqhttp 版本

1.0.1

运行环境

Windows (64)

运行架构

x86

连接方式

WebSocket (反向)

使用协议

1 | Android Phone

重现步骤

没有固定bug,只出现在部分单向好友上。添加双向好友后,等待机器人正常回复后,再将其拉近陌生人(即我是他的好友,他不是我的好友)即可正常回复对方的消息

期望的结果是什么?

解决部分单项好友消息不回复的问题

实际的结果是什么?

部分单项好友消息不回复

简单的复现代码/链接(可选)

No response

日志记录(可选)

[2023-05-06 16:22:25] [INFO]: 收到好友 (xxx) 的消息: 菜单 (-528826310)
[2023-05-06 16:22:26] [ERROR]: 错误: 请先添加 若他(xxx) 为好友

补充说明(可选)

No response

@waner1998 waner1998 added the bug? The issue author think this is a bug label May 6, 2023
@Javabcd
Copy link

Javabcd commented May 22, 2023

我这边也是 1.0.0 rc5 这个问题不会定时出现 出现就会导致消息无法发送 大概有1/10的几率会出现

@Well2333
Copy link

Well2333 commented Jun 27, 2023

此问题在正常好友中也偶尔出现,而且用 get_friend_list 可以查询到此用户的id

经过尝试,让出问题的用户删除 Bot 好友然后重新添加可以解决问题

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug? The issue author think this is a bug
Projects
None yet
Development

No branches or pull requests

3 participants