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?]: onebot 自定义合并转发消息显示异常 #481

Closed
4 tasks done
NoMathExpectation opened this issue Aug 5, 2024 · 3 comments
Closed
4 tasks done

[Bug?]: onebot 自定义合并转发消息显示异常 #481

NoMathExpectation opened this issue Aug 5, 2024 · 3 comments
Labels
bug? Maybe it's a bug

Comments

@NoMathExpectation
Copy link

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

  • 我已经仔细阅读上述内容
  • 我已经使用 最新构建 测试过,问题依旧存在。
  • 我已经在 Issue Tracker 中找过我要提出的问题,没有找到相同问题的ISSUE。
  • 我已知晓并同意,此处仅用于汇报程序中存在的问题。若这个 Issue 是关于其他非程序本身问题,则我的 Issue 可能会被无条件自动关闭或/并锁定。(其它疑问请考虑加入TG群询问或在discussions中提问)

Lagrange项目

OneBot

所使用/依赖的Lagrange项目对应的commit

319785c

运行环境

Linux

运行架构

x64

连接方式

HTTP

重现步骤

使用 onebot 实现端(这里用的是simbot)对 lagrange.onebot 直接发送含 onebot 自定义 node 节点的请求,例如:
{"message_type":"group","group_id":"*","message":[{"type":"node","data":{"user_id":"*","nickname":"*","content":[{"type":"text","data":{"text":"lo\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nng"}}]}}],"auto_escape":true}

期望的结果是什么?

正确展示合并转发消息

实际的结果是什么?

发送出来的内容为 该消息类型暂不支持查看

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

No response

Trace 级别日志记录(可选)

info: Lagrange.OneBot.Core.Network.Service.HttpService[2]
      Request(Conn: 9527214b-aa8f-4fcd-96b7-7e4d51777f1c from 172.29.0.3:41332)
info: Lagrange.OneBot.Core.Network.Service.HttpService[3]
      Receive(Conn: 9527214b-aa8f-4fcd-96b7-7e4d51777f1c: {"message_type":"group","group_id":"*","message":[{"type":"node","data":{"user_id":"*","nickname":"*","content":[{"type":"text","data":{"text":"lo\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nng"}}]}}],"auto_escape":true})
info: Lagrange.OneBot.Core.Network.Service.HttpService[3]
      Receive(Conn: 9527214b-aa8f-4fcd-96b7-7e4d51777f1c: {"action":"send_msg","params":{"message_type":"*","group_id":"*","message":[{"type":"node","data":{"user_id":"*","nickname":"*","content":[{"type":"text","data":{"text":"lo\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nng"}}]}}],"auto_escape":true}})
trce: Lagrange.Core.BotContext[0]
      [2024-08-05 08:35:27] [ServiceContext] [DEBUG]: Outgoing SSOFrame: MessageSvc.PbSendMsg
trce: Lagrange.Core.BotContext[0]
      [2024-08-05 08:35:28] [ServiceContext] [DEBUG]: Outgoing SSOFrame: Heartbeat.Alive
trce: Lagrange.Core.BotContext[0]
      [2024-08-05 08:35:28] [ServiceContext] [DEBUG]: Incoming SSOFrame: MessageSvc.PbSendMsg
trce: Lagrange.OneBot.Core.Network.Service.HttpService[4]
      Send(Conn: 9527214b-aa8f-4fcd-96b7-7e4d51777f1c: {"status":"ok","retcode":0,"data":{"message_id":*},"echo":null})

补充说明(可选)

simple-robot/simbot-component-onebot#68

@NoMathExpectation NoMathExpectation added the bug? Maybe it's a bug label Aug 5, 2024
@NoMathExpectation NoMathExpectation changed the title [Bug?]: [Bug?]: 自定义合并转发消息显示异常 Aug 5, 2024
@NoMathExpectation NoMathExpectation changed the title [Bug?]: 自定义合并转发消息显示异常 [Bug?]: onebot 自定义合并转发消息显示异常 Aug 5, 2024
@CrackTC
Copy link
Collaborator

CrackTC commented Aug 10, 2024

Lagrange.OneBot 的合并转发消息要通过扩展api发送

@NoMathExpectation
Copy link
Author

NoMathExpectation commented Aug 10, 2024

Lagrange.OneBot 的合并转发消息要通过扩展api发送

可是我看其他onebot服务端是不需要额外的api的,比如补充里的issue提到的其他服务端

@ishkong
Copy link
Collaborator

ishkong commented Aug 12, 2024

从go-cqhttp时开始,与合并转发相关的操作一直是单独的api。
且由于发送合并转发的逻辑与发送其它消息有一定的区别,lgr暂时没有兼容的计划。
这并不是一个bug,所以关闭此issue。
你可以选择提交一个feature request来请求开发者支持,或者使用其它服务端.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug? Maybe it's a bug
Projects
None yet
Development

No branches or pull requests

3 participants