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

mirai大版本更新2.5正式,希望NATIVE支持文件协议 #134

Open
dragon0629 opened this issue Mar 26, 2021 · 11 comments
Open

mirai大版本更新2.5正式,希望NATIVE支持文件协议 #134

dragon0629 opened this issue Mar 26, 2021 · 11 comments
Labels
enhancement New feature or request

Comments

@dragon0629
Copy link

RT,不知道作者还有时间不
可以NATIVE这边修改SDK,增加对群文件消息的上传和下载方法吗?

@dragon0629 dragon0629 added the enhancement New feature or request label Mar 26, 2021
@yzqd9527
Copy link

yzqd9527 commented Mar 26, 2021

可能得等作者 抽空 修复完之前写好的bug之后才有空写新的bugimage

@dragon0629
Copy link
Author

噗,我觉得之前的没什么BUG了。
好像2.0beta版也一直没有打正式。

@PeratX
Copy link
Member

PeratX commented Apr 10, 2021

最近太忙,抱歉,这个一定会支持

@dragon0629
Copy link
Author

忙完了,MD里可以给个赞助二维码,我好支持一下。
白嫖用了半年了都有点不好意思,辛苦辛苦,23333

@PeratX
Copy link
Member

PeratX commented Apr 27, 2021

忙完了,MD里可以给个赞助二维码,我好支持一下。
白嫖用了半年了都有点不好意思,辛苦辛苦,23333

哈哈,其实不必,时机成熟了会放的:)

@dragon0629
Copy link
Author

作者大大最近还有时间吗?
好像现在到2.7,发送图片会报错,虽然图片发送成功,但是会有资源报错了
我们使用native调用本地图片发送,具体也不知道是出了什么问题了……
之前2.6.4还没有报错,2.7之后开始出现。
4_P_SYOC%`2(A)SQ}7V57)T

@dragon0629
Copy link
Author

啊,隔壁解答说在2.7中添加了检查资源泄漏的功能,ExternalResource 需要像正常的InputStream一样需要进行关闭(或者使用try-catch块来自动关闭)
需要加上externalResource.close()
可能确实需要mirainative支持,噗

@PeratX
Copy link
Member

PeratX commented Sep 10, 2021

这个已修复,文件的正在看怎么做

@PeratX
Copy link
Member

PeratX commented Sep 10, 2021

文件分支已建立,https://github.com/iTXTech/mirai-native/tree/file
最近又忙又累,可能和开发组论证一下有无更好实现再正式发布

@dragon0629
Copy link
Author

dragon0629 commented Sep 10, 2021

辛苦了!!!!!这次发布了,请给我个支付宝收款二维码!至少让我感谢一下吧!一直用了这么长时间了,真的很感谢。

@PeratX
Copy link
Member

PeratX commented Sep 11, 2021

目前还在看怎么实现列出文件,因为这个耗时会极大,如果一次列出所有文件

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

No branches or pull requests

3 participants