1
0
mirror of https://github.com/mamoe/mirai.git synced 2025-04-05 07:10:11 +08:00

Fix senderName render of ForwardMessage; fix

This commit is contained in:
Karlatemp 2022-07-09 10:59:41 +08:00
parent 1be39eeb0a
commit 0e1585e898
No known key found for this signature in database
GPG Key ID: BA173CA2B9956C59

View File

@ -168,9 +168,10 @@ internal open class MultiMsgUploader(
msgId = 1,
),
msgType = 82, // troop,
groupInfo = if (contact is Group) MsgComm.GroupInfo(
groupCode = contact.groupCode, groupCard = senderName // Cinnamon
) else null,
groupInfo = MsgComm.GroupInfo(
groupCode = if (contact is Group) contact.groupCode else 0L,
groupCard = msg.senderName, // Cinnamon
),
isSrcMsg = false,
), msgBody = ImMsgBody.MsgBody(
richText = ImMsgBody.RichText(