NotificationUserInfoUpdate

pull/974/head
withchao 2 years ago
parent eab395bfa9
commit dfe4cb83b4

@ -124,7 +124,7 @@ func (s *groupServer) NotificationUserInfoUpdate(ctx context.Context, req *pbgro
return nil, err
}
for _, member := range members {
if member.Nickname != "" {
if member.Nickname != "" && member.FaceURL != "" {
continue
}
if err := s.Notification.GroupMemberInfoSetNotification(ctx, member.GroupID, member.UserID); err != nil {

@ -128,7 +128,7 @@ func (s *userServer) UpdateUserInfo(ctx context.Context, req *pbuser.UpdateUserI
if err != nil {
return nil, err
}
if req.UserInfo.Nickname != "" {
if req.UserInfo.Nickname != "" || req.UserInfo.FaceURL != "" {
if err := s.groupRpcClient.NotificationUserInfoUpdate(ctx, req.UserInfo.UserID); err != nil {
log.ZError(ctx, "NotificationUserInfoUpdate", err)
}

Loading…
Cancel
Save