Revert: Change group member roleLevel can`t send notification (#2789)

* fix: change group member info send notification

* fix: change group member info send notification

* fix: group

* fix: group

* fix: group
pull/2796/head
icey-yu 1 month ago committed by GitHub
parent 0207f1dab1
commit 4be508a640
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 || member.RoleLevel != nil { if member.Nickname != nil || member.FaceURL != nil || member.Ex != nil {
g.notification.GroupMemberInfoSetNotification(ctx, member.GroupID, member.UserID) g.notification.GroupMemberInfoSetNotification(ctx, member.GroupID, member.UserID)
} }
} }

Loading…
Cancel
Save