Commit 4840a57b authored by Him188's avatar Him188

Transform VipFace as PlainText

parent 90df8805
...@@ -149,6 +149,9 @@ internal fun MessageChain.toRichTextElems(forGroup: Boolean, withGeneralFlags: B ...@@ -149,6 +149,9 @@ internal fun MessageChain.toRichTextElems(forGroup: Boolean, withGeneralFlags: B
} }
} }
} }
is VipFace -> {
transformOneMessage(PlainText(it.contentToString()))
}
is ForwardMessage, is ForwardMessage,
is MessageSource, // mirai metadata only is MessageSource, // mirai metadata only
is RichMessage // already transformed above is RichMessage // already transformed above
......
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