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]: 上报的群聊消息存在重复的属性 message_type #1534

Closed
4 tasks done
darkyzhou opened this issue Jun 12, 2022 · 0 comments
Closed
4 tasks done

[Bug]: 上报的群聊消息存在重复的属性 message_type #1534

darkyzhou opened this issue Jun 12, 2022 · 0 comments
Labels
bug? The issue author think this is a bug fixed

Comments

@darkyzhou
Copy link

darkyzhou commented Jun 12, 2022

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

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

go-cqhttp 版本

v1.0.0-rc2

运行环境

Linux

运行架构

ARM [64] (别名:AArch64 / ARMv8)

连接方式

WebSocket (正向)

使用协议

3 | MacOS

重现步骤

安装 v1.0.0-rc2 版本的 go-cqhttp,设置为主动 Websocket 模式

期望的结果是什么?

期望不出现重复的属性

实际的结果是什么?

上报的群聊消息如下:

{
	"post_type": "message",
	"message_type": "group",
	// 中间省略
	"message_type": "group" // 重复出现的属性
}

私聊消息则没有出现重复属性

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

No response

日志记录(可选)

No response

补充说明(可选)

No response

@darkyzhou darkyzhou added the bug? The issue author think this is a bug label Jun 12, 2022
@Mrs4s Mrs4s added the fixed label Jun 14, 2022
@Mrs4s Mrs4s closed this as completed in babf35e Jun 21, 2022
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 fixed
Projects
None yet
Development

No branches or pull requests

2 participants