mirai/mirai-core
Him188 7feeaee1ca
Refining Messages without suspension (#1167)
* Introduce `RefinableMessage.tryRefine` to refine without suspension.

* Extract `RefinableMessage` to separate file

* Always use `Bot` on `List<MsgComm.Msg>.toMessageChain`

* Introduce `MessageRefiner` and ensure MessageChain refined after transformation. Fix #1156, fix #1157

* Add basic tests

* Refine forward message contents

* Refine long message contents

* Move refinement from message internals to MiraiImpl public APIs

* Comment out unused `toMessageChainOffline`

* refinement tests part

* refinement tests part

* Full tests and minor internal improv.s

* Fix tests

* Fix compile
2021-04-08 11:59:16 +08:00
..
src Refining Messages without suspension (#1167) 2021-04-08 11:59:16 +08:00
build.gradle.kts buildscript: fix task not found errors when android sdk not available (#1161) 2021-04-05 22:35:38 +08:00
README.md Rearrange module structure: 2020-10-03 12:42:13 +08:00

mirai-core-qqandroid

QQ for Android 8.2.7 协议实现. 相较于 mirai-core, 此模块仅提供协议和功能的实现, 不提供额外的公开的 API.