mirror of
https://github.com/mamoe/mirai.git
synced 2025-03-09 19:50:27 +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),
|
contentHead = MsgComm.ContentHead(pkgNum = 1),
|
||||||
msgBody = ImMsgBody.MsgBody(
|
msgBody = ImMsgBody.MsgBody(
|
||||||
richText = ImMsgBody.RichText(
|
richText = ImMsgBody.RichText(
|
||||||
elems = message.toRichTextElems(false, true)
|
elems = message.toRichTextElems(forGroup = false, withGeneralFlags = true)
|
||||||
)
|
)
|
||||||
),
|
),
|
||||||
msgSeq = source.sequenceId,
|
msgSeq = source.sequenceId,
|
||||||
@ -380,7 +380,7 @@ internal class MessageSvc {
|
|||||||
contentHead = MsgComm.ContentHead(pkgNum = 1),
|
contentHead = MsgComm.ContentHead(pkgNum = 1),
|
||||||
msgBody = ImMsgBody.MsgBody(
|
msgBody = ImMsgBody.MsgBody(
|
||||||
richText = ImMsgBody.RichText(
|
richText = ImMsgBody.RichText(
|
||||||
elems = message.toRichTextElems(true, true)
|
elems = message.toRichTextElems(forGroup = true, withGeneralFlags = true)
|
||||||
)
|
)
|
||||||
),
|
),
|
||||||
msgSeq = client.atomicNextMessageSequenceId(),
|
msgSeq = client.atomicNextMessageSequenceId(),
|
||||||
|
Loading…
Reference in New Issue
Block a user