Commit 717554ee authored by Him188's avatar Him188

Fix warnings

parent 5a28c0c1
...@@ -327,7 +327,7 @@ internal class MessageSvc { ...@@ -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 { ...@@ -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(),
......
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