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

Dev/numendacil #136

Merged
merged 4 commits into from
Feb 21, 2022
Merged

Dev/numendacil #136

merged 4 commits into from
Feb 21, 2022

Conversation

Numendacil
Copy link
Contributor

  • mirai-api-http-v2.5.0:添加查询非好友账号信息接口GetUserProfile(),增加商店表情消息MarketFaceMessage
  • 更正MiraiCode.hpp一处字符串乱码(另:有一些文件显示使用的编码为UTF-8 with BOM,是否统一为使用UTF-8更好?)
  • 修改了ImageMessage和VoiceMessage的Set()与ToJson()。ImageMessage和VoiceMessage的Set函数中不会更新值为null的field,可能导致前一次的结果未清除干净从而覆盖本次的结果(毕竟文档里写的“出现多个参数时,按照imageId > url > path > base64的优先级”)。

@cyanray
Copy link
Owner

cyanray commented Feb 21, 2022

感谢你的贡献🙏
当然是统一使用UTF-8更好啦,当时用vscode逐个文件改的编码,为了达到极致的手速,看到utf-8就点了,根本没注意什么with bom的事情。

@cyanray cyanray merged commit a9c486f into cyanray:master Feb 21, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants