1
0
mirror of https://github.com/mamoe/mirai.git synced 2025-03-25 06:50:09 +08:00

Fix unmodified nameCard

This commit is contained in:
Him188 2020-04-23 19:36:09 +08:00
parent 2d96314d72
commit 65f45d6c84

View File

@ -542,6 +542,7 @@ internal class OnlinePush {
val old = member.nameCard
if (new == old) return@mapNotNull null
member._nameCard = new
return@mapNotNull MemberCardChangeEvent(old, new, member, null)
}