fix: change group member info send notification (#2777)

This commit is contained in:
icey-yu 2024-10-24 16:48:46 +08:00 committed by GitHub
parent 0d03b46ac8
commit 43919bc5fe
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1621,7 +1621,7 @@ func (g *groupServer) SetGroupMemberInfo(ctx context.Context, req *pbgroup.SetGr
g.notification.GroupMemberSetToOrdinaryUserNotification(ctx, member.GroupID, member.UserID)
}
}
if member.Nickname != nil || member.FaceURL != nil || member.Ex != nil {
if member.Nickname != nil || member.FaceURL != nil || member.Ex != nil || member.RoleLevel != nil {
g.notification.GroupMemberInfoSetNotification(ctx, member.GroupID, member.UserID)
}
}