mirror of
https://github.com/mamoe/mirai.git
synced 2025-04-05 07:10:11 +08:00
Fix senderName render of ForwardMessage; fix #2143
This commit is contained in:
parent
1be39eeb0a
commit
0e1585e898
@ -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(
|
||||
|
Loading…
Reference in New Issue
Block a user