mirror of
https://github.com/mamoe/mirai.git
synced 2025-01-19 10:59:14 +08:00
Make cache
private
This commit is contained in:
parent
80a1bad98c
commit
8cefb73033
@ -85,7 +85,7 @@ class MessageChainBuilder
|
|||||||
withCache { append(plain) }
|
withCache { append(plain) }
|
||||||
}
|
}
|
||||||
|
|
||||||
var cache: StringBuilder? = null
|
private var cache: StringBuilder? = null
|
||||||
private fun flushCache() {
|
private fun flushCache() {
|
||||||
cache?.let {
|
cache?.let {
|
||||||
container.add(it.toString().toMessage())
|
container.add(it.toString().toMessage())
|
||||||
|
Loading…
Reference in New Issue
Block a user