Remove UNSUPPORTED_MERGED_MESSAGE_PLAIN, fix #1119

This commit is contained in:
Him188 2021-03-30 12:16:08 +08:00
parent cea4d23d7f
commit 3f807353b3

View File

@ -61,7 +61,7 @@ internal fun MessageChain.toRichTextElems(
)
)
)
transformOneMessage(UNSUPPORTED_MERGED_MESSAGE_PLAIN)
// transformOneMessage(UNSUPPORTED_MERGED_MESSAGE_PLAIN)
}
is LongMessageInternal -> {
check(longTextResId == null) { "There must be no more than one LongMessage element in the message chain" }