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

好友消息撤回事件的参数问题 #76

Closed
dellbeat opened this issue Oct 26, 2021 · 5 comments
Closed

好友消息撤回事件的参数问题 #76

dellbeat opened this issue Oct 26, 2021 · 5 comments
Labels

Comments

@dellbeat
Copy link
Contributor

好友消息撤回参数IFriendMessageRevokedEventArgs内的原发送时间属性SentTime在1970年左右

看了一下mcl输出的时间戳是10位 有可能把10位的时间戳也用毫秒来计算实际的发送时间了

@Executor-Cheng Executor-Cheng added investigating The developer is investigating the issue pending The developer is working on other projects. labels Oct 26, 2021
@Executor-Cheng
Copy link
Owner

早上起来我复现一下, 我服务器把我流量的出口IP墙了, 2333

@Executor-Cheng Executor-Cheng added external and removed investigating The developer is investigating the issue pending The developer is working on other projects. labels Oct 26, 2021
@Executor-Cheng
Copy link
Owner

https://github.com/project-mirai/mirai-api-http/blob/b4ef4947d67cb622a35e7b46c460f788a32c664f/mirai-api-http/src/main/kotlin/net/mamoe/mirai/api/http/adapter/internal/convertor/event.kt#L39
看起来是 mirai-api-http 的锅, 不知道为啥, 它把时间戳按位与了一个0xFFFF
L32那里的位操作应该是正确的

@dellbeat
Copy link
Contributor Author

那就等MAH那边确认问题吧

@dellbeat
Copy link
Contributor Author

dellbeat commented Nov 2, 2021

好像MAH那边没看到那个issue 要再顶一下那个issue吗

@dellbeat
Copy link
Contributor Author

看了一下那边已经修了 估计等下个版本就能体现了

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

No branches or pull requests

2 participants