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

无法正确解析新版 macqq (6.9.19) 发送的图片 url #341

Open
R2N0b1M opened this issue Sep 21, 2023 · 4 comments
Open

无法正确解析新版 macqq (6.9.19) 发送的图片 url #341

R2N0b1M opened this issue Sep 21, 2023 · 4 comments
Labels
bug Something isn't working help wanted Extra attention is needed

Comments

@R2N0b1M
Copy link

R2N0b1M commented Sep 21, 2023

Mrs4s/go-cqhttp#2435 是一样的问题,考虑到那边把 issue 关了,于是重新发一个。

macqq (6.9.19) 发送图片时 protobuf 协议有变化,这个 481c830 的修复不再有效,原因是 img.PbReserve.Url 不再能拿到完整的链接地址。

研究发现这个版本把图片 url 的前缀移到了 CommonElem 里,img.PbReserve.Url 只存储了 &rkey=... ,希望能修复 :)

url 解析错误
image

img.PbReserve.Url 现无法获取完整地址
image

url 前缀被移动到 [53 (CommonElem)][2 (pbElem)][1][2]
image

@contr4l
Copy link

contr4l commented Sep 25, 2023

棒!我刚想回复说,只有在使用Linux QQ的时候才会遇到这个链接的问题。
感谢Po主找到问题源头。

@MisakaTAT
Copy link
Contributor

#343,我测试了下Mac NTQQ私聊群聊都没问题了,但是 IOS 手Q私聊发送的图片还没解决,CommonElem 是空的,img.PbReserve.Url 也是只有 Rkey

@dmlgzs
Copy link
Contributor

dmlgzs commented Oct 10, 2023

#343,我测试了下Mac NTQQ私聊群聊都没问题了,但是 IOS 手Q私聊发送的图片还没解决,CommonElem 是空的,img.PbReserve.Url 也是只有 Rkey

看看这个能不能获取到(

@Chao-zheng-W
Copy link

遇到了相同问题,有解决办法了吗?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

6 participants