Skip to content
This repository has been archived by the owner on Nov 2, 2023. It is now read-only.

无法获取回复消息的 rand #489

Open
clansty opened this issue Jan 13, 2023 · 1 comment
Open

无法获取回复消息的 rand #489

clansty opened this issue Jan 13, 2023 · 1 comment

Comments

@clansty
Copy link
Contributor

clansty commented Jan 13, 2023

Node.js Version

v18.7.0

Package(oicq) Version

latest

Login Protocol

iMac

Bug Description (最好截图说明,你的文字描述可能无法准确传达信息)

无法获取回复消息的 rand,rand 永远为 0

Log Details (控制台日志,请提供包含前后一段时间内的)

No response

@dmlgzs
Copy link
Contributor

dmlgzs commented Jan 15, 2023

OICQ v1 https://github.com/takayama-lily/oicq/blob/master/lib/message/parser.js#L476-L477
OICQ v2https://github.com/takayama-lily/oicq/blob/main/lib/message/message.ts#L166
看起来似乎某些情况下群消息的回复消息的 rand 需要根据 seq 获取对应的消息才能获得,可能 iMac 协议是这样的特殊情况

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants