try fix tim pc

This commit is contained in:
mzdluo123 2020-07-07 20:46:41 +08:00
parent 82faf7732c
commit 90a7306822
No known key found for this signature in database
GPG Key ID: 9F7BC2C154107A1D
2 changed files with 7 additions and 1 deletions

View File

@ -164,6 +164,11 @@ internal fun MessageChain.toRichTextElems(forGroup: Boolean, withGeneralFlags: B
extraInfo = ImMsgBody.ExtraInfo(flags = 16,groupMask = 1)
)
)
elements.add(ImMsgBody.Elem(
elemFlags2 = ImMsgBody.ElemFlags2(
vipStatus = 1
)
))
}
is ForwardMessage,
is MessageSource, // mirai metadata only

View File

@ -145,7 +145,8 @@ internal object MessageSvcPbSendMsg : OutgoingPacketFactory<MessageSvcPbSendMsg.
boolValid = true,
fileSize = fileSize.toInt(),
fileType = 4,
time = voiceLength
time = voiceLength,
pbReserve = byteArrayOf(0)
)
}
)