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

为群实现 RoamingSupported #1866

Closed
iceBear67 opened this issue Feb 4, 2022 · 5 comments · Fixed by #2332
Closed

为群实现 RoamingSupported #1866

iceBear67 opened this issue Feb 4, 2022 · 5 comments · Fixed by #2332
Labels
N 优先级: 一般 s:core 子系统: mirai-core t:feature 类型: 新特性 x:protocol 属性: 协议相关
Milestone

Comments

@iceBear67
Copy link
Contributor

iceBear67 commented Feb 4, 2022

支持获取群聊的历史记录
之前在某群问过一遍,但是回复是不支持( )于是我去看了一下友商的库,发现貌似是可以拉取到历史消息的

https://github.com/takayama-lily/oicq/blob/b95a05fc5b8b88437bf56325894ba66fd9efb5a5/lib/group.ts#L522-L544

而且这个功能已经被验证过有效了(某现已尘封的聊天客户端)希望 Mirai 能够添加这个功能

@iceBear67 iceBear67 added the t:feature 类型: 新特性 label Feb 4, 2022
@Him188 Him188 added this to the Backlog milestone Feb 5, 2022
@Him188 Him188 added N 优先级: 一般 x:protocol 属性: 协议相关 labels Feb 5, 2022
@Him188
Copy link
Member

Him188 commented Feb 12, 2022

看了一下, 按目前 mirai API 设计很好实现, 不需要 breaking change

@Him188 Him188 added the s:core 子系统: mirai-core label Mar 4, 2022
@iceBear67
Copy link
Contributor Author

苦等.jpg

@Him188
Copy link
Member

Him188 commented May 11, 2022

等的时候其实可以 PR 的

@AdoptOSS
Copy link
Contributor

看了一下, 按目前 mirai API 设计很好实现, 不需要 breaking change

目前的 RoamingMessages 是 timestamp-based 的
这里似乎需要引入 seq-based 的 RoamingMessages 接口

@iceBear67
Copy link
Contributor Author

看了一下, 按目前 mirai API 设计很好实现, 不需要 breaking change

目前的 RoamingMessages 是 timestamp-based 的 这里似乎需要引入 seq-based 的 RoamingMessages 接口

我打算拆分成 TimeBasedRoamingMessagesSeqBasedRoamingMessages

但是我不太会 kotlin ,现在那个 PR 挺乱的, 而且缺一个 PbGetGroupMsg

@Karlatemp Karlatemp linked a pull request Dec 18, 2022 that will close this issue
@Karlatemp Karlatemp modified the milestones: Backlog, 2.14.0-RC Dec 18, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
N 优先级: 一般 s:core 子系统: mirai-core t:feature 类型: 新特性 x:protocol 属性: 协议相关
Projects
None yet
4 participants