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

pull/2785/head
icey-yu 1 month ago committed by GitHub
parent 0d03b46ac8
commit 43919bc5fe
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -1621,7 +1621,7 @@ func (g *groupServer) SetGroupMemberInfo(ctx context.Context, req *pbgroup.SetGr
g.notification.GroupMemberSetToOrdinaryUserNotification(ctx, member.GroupID, member.UserID) 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) g.notification.GroupMemberInfoSetNotification(ctx, member.GroupID, member.UserID)
} }
} }

Loading…
Cancel
Save