Skip to content
This repository has been archived by the owner on Aug 12, 2024. It is now read-only.

Commit

Permalink
Merge pull request #121 from Miuzarte/patch-1
Browse files Browse the repository at this point in the history
go-cqhttp like card and nickname field
  • Loading branch information
whitechi73 authored Dec 3, 2023
2 parents a0ff478 + 61bed61 commit 97534b0
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ internal object GlobalEventTransmitter: BaseSvc() {
.ifBlank { record.sendRemarkName }
.ifBlank { record.sendMemberName }
.ifBlank { record.peerName },
card = record.sendMemberName.ifBlank { record.sendNickName },
card = record.sendMemberName,
role = when (record.senderUin) {
GroupSvc.getOwner(record.peerUin.toString()) -> MemberRole.Owner
in GroupSvc.getAdminList(record.peerUin.toString()) -> MemberRole.Admin
Expand Down

0 comments on commit 97534b0

Please sign in to comment.