mirror of
https://github.com/mamoe/mirai.git
synced 2025-01-22 13:46:13 +08:00
Fix warnings
This commit is contained in:
parent
5a28c0c1b2
commit
717554ee7f
@ -327,7 +327,7 @@ internal class MessageSvc {
|
||||
contentHead = MsgComm.ContentHead(pkgNum = 1),
|
||||
msgBody = ImMsgBody.MsgBody(
|
||||
richText = ImMsgBody.RichText(
|
||||
elems = message.toRichTextElems(false, true)
|
||||
elems = message.toRichTextElems(forGroup = false, withGeneralFlags = true)
|
||||
)
|
||||
),
|
||||
msgSeq = source.sequenceId,
|
||||
@ -380,7 +380,7 @@ internal class MessageSvc {
|
||||
contentHead = MsgComm.ContentHead(pkgNum = 1),
|
||||
msgBody = ImMsgBody.MsgBody(
|
||||
richText = ImMsgBody.RichText(
|
||||
elems = message.toRichTextElems(true, true)
|
||||
elems = message.toRichTextElems(forGroup = true, withGeneralFlags = true)
|
||||
)
|
||||
),
|
||||
msgSeq = client.atomicNextMessageSequenceId(),
|
||||
|
Loading…
Reference in New Issue
Block a user