mirror of
https://github.com/mamoe/mirai.git
synced 2025-01-08 17:20:11 +08:00
Fix MessageChainBuilder.clear
not clearing caches; fix #1538
This commit is contained in:
parent
16ad3bc042
commit
b451dfaf96
@ -204,6 +204,7 @@ public class MessageChainBuilder private constructor(
|
|||||||
}
|
}
|
||||||
|
|
||||||
public override fun clear() {
|
public override fun clear() {
|
||||||
|
cache.setLength(0)
|
||||||
return container.clear()
|
return container.clear()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user