You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Sep 11, 2025. It is now read-only.
我将接收到的消息进行复读测试的时候,我发现图片回复的尺寸不一致,回复的图很小。
我做过测试,自己构建一个图片消息进行发送,传入的Uri地址的显示是正常的,使用ImageId发送的就很小。
然后我观察了一下原始数据,它实际是存在宽高信息的,我觉得是不是缺失了这些信息,导致使用ImageId发送的时候使用了默认的最小尺寸进行发送
https://github.com/project-mirai/mirai-api-http/blob/e9d5609b1cd580217a868f2daa789360283ba289/mirai-api-http/src/main/kotlin/net/mamoe/mirai/api/http/adapter/internal/dto/message.kt#L121