NotificationUserInfoUpdate

This commit is contained in:
withchao 2023-08-30 11:55:40 +08:00
parent dfe4cb83b4
commit 54bf150aa2

View File

@ -115,11 +115,8 @@ type groupServer struct {
}
func (s *groupServer) NotificationUserInfoUpdate(ctx context.Context, req *pbgroup.NotificationUserInfoUpdateReq) (*pbgroup.NotificationUserInfoUpdateResp, error) {
groupIDs, err := s.GroupDatabase.FindJoinSuperGroup(ctx, req.UserID)
if err != nil {
return nil, err
}
members, err := s.GroupDatabase.FindGroupMember(ctx, groupIDs, []string{req.UserID}, nil)
defer log.ZDebug(ctx, "return")
members, err := s.GroupDatabase.FindGroupMember(ctx, nil, []string{req.UserID}, nil)
if err != nil {
return nil, err
}