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

支持解析和上传好友文件 #2788

Open
wants to merge 7 commits into
base: dev
Choose a base branch
from
Open

支持解析和上传好友文件 #2788

wants to merge 7 commits into from

Conversation

StageGuard
Copy link
Member

@StageGuard StageGuard commented Sep 1, 2023

close #2787

  • decode friend message
  • send file to friend
  • move ptt processor from toMessageChainImpl to AudioProtocol

@StageGuard StageGuard changed the title [core] Friend message support 支持解析和上传好友文件 Sep 1, 2023
@StageGuard
Copy link
Member Author

已基本完成,目前有个问题是好友文件上传无法命中缓存,相同的文件每次都返回 RequireUpload.
如果有意向解决可以看 FriendImpl.uploadFile 方法中前面的 send ApplyUploadV3

@StageGuard StageGuard added t:feature 类型: 新特性 x:protocol 属性: 协议相关 s:core 子系统: mirai-core labels Sep 4, 2023
@StageGuard StageGuard added this to the 2.17.0-RC milestone Sep 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
s:core 子系统: mirai-core t:feature 类型: 新特性 x:protocol 属性: 协议相关
Projects
None yet
Development

Successfully merging this pull request may close these issues.

支持上传好友文件
1 participant