Commit 92a57907 authored by Him188's avatar Him188

Ignore old poke messages

parent 52f85435
......@@ -194,6 +194,12 @@ private fun MessageChain.cleanupRubbishMessageElements(): MessageChain {
return@forEach
}
}
if (last is PokeMessage && element is PlainText) {
if (element == UNSUPPORTED_POKE_MESSAGE_PLAIN) {
last = element
return@forEach
}
}
add(element)
last = element
......
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