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 #2187
This commit is contained in:
parent
3949c9c08c
commit
951e835a26
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user