Commit 90a73068 authored by mzdluo123's avatar mzdluo123

try fix tim pc

parent 82faf773
...@@ -164,6 +164,11 @@ internal fun MessageChain.toRichTextElems(forGroup: Boolean, withGeneralFlags: B ...@@ -164,6 +164,11 @@ internal fun MessageChain.toRichTextElems(forGroup: Boolean, withGeneralFlags: B
extraInfo = ImMsgBody.ExtraInfo(flags = 16,groupMask = 1) extraInfo = ImMsgBody.ExtraInfo(flags = 16,groupMask = 1)
) )
) )
elements.add(ImMsgBody.Elem(
elemFlags2 = ImMsgBody.ElemFlags2(
vipStatus = 1
)
))
} }
is ForwardMessage, is ForwardMessage,
is MessageSource, // mirai metadata only is MessageSource, // mirai metadata only
......
...@@ -145,7 +145,8 @@ internal object MessageSvcPbSendMsg : OutgoingPacketFactory<MessageSvcPbSendMsg. ...@@ -145,7 +145,8 @@ internal object MessageSvcPbSendMsg : OutgoingPacketFactory<MessageSvcPbSendMsg.
boolValid = true, boolValid = true,
fileSize = fileSize.toInt(), fileSize = fileSize.toInt(),
fileType = 4, fileType = 4,
time = voiceLength time = voiceLength,
pbReserve = byteArrayOf(0)
) )
} }
) )
......
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