Fix warnings

This commit is contained in:
Him188 2020-03-31 15:09:29 +08:00
parent 5a28c0c1b2
commit 717554ee7f

View File

@ -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(),