1
0
mirror of https://github.com/mamoe/mirai.git synced 2025-04-17 09:09:23 +08:00

[core] Fix sender name in forwarded messages. close

This commit is contained in:
Him188 2022-09-07 13:02:28 +08:00
parent 3949c9c08c
commit 951e835a26
No known key found for this signature in database
GPG Key ID: BA439CDDCF652375

View File

@ -253,6 +253,7 @@ internal open class MultiMsgUploader(
val msg0 = MsgComm.Msg(
msgHead = MsgComm.MsgHead(
fromUin = pm.msg.senderId,
fromNick = pm.msg.senderName,
toUin = if (isLong) {
contact.userIdOrNull ?: 0
} else 0,