Commit 8cefb730 authored by Him188's avatar Him188

Make `cache` private

parent 80a1bad9
...@@ -85,7 +85,7 @@ class MessageChainBuilder ...@@ -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())
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment