diff --git a/xposed/src/main/java/moe/fuqiuluo/shamrock/remote/service/api/GlobalEventTransmitter.kt b/xposed/src/main/java/moe/fuqiuluo/shamrock/remote/service/api/GlobalEventTransmitter.kt index 5e24ef54..938de439 100644 --- a/xposed/src/main/java/moe/fuqiuluo/shamrock/remote/service/api/GlobalEventTransmitter.kt +++ b/xposed/src/main/java/moe/fuqiuluo/shamrock/remote/service/api/GlobalEventTransmitter.kt @@ -81,9 +81,9 @@ internal object GlobalEventTransmitter: BaseSvc() { sender = Sender( userId = record.senderUin, nickname = record.sendNickName - .ifBlank { record.peerName } .ifBlank { record.sendRemarkName } - .ifBlank { record.sendMemberName }, + .ifBlank { record.sendMemberName } + .ifBlank { record.peerName }, card = record.sendMemberName.ifBlank { record.sendNickName }, role = when (record.senderUin) { GroupSvc.getOwner(record.peerUin.toString()) -> MemberRole.Owner