Unverified Commit 98c42189 authored by Simon Esposito's avatar Simon Esposito Committed by GitHub
Browse files

Do not import friends by default on FB authentication (#563)

parent 56471498
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -9,6 +9,7 @@ The format is based on [keep a changelog](http://keepachangelog.com) and this pr
- Improve status follow input validation and constraints.
- Build with Go 1.16.0 release.
- Do not import Steam friends by default on Steam authentication.
- Do not import Facebook friends by default on Facebook authentication.

### Fixed
- Fix an issue in the js runtime that would prevent the matchmaker matched callback to function correctly.
+1 −1
Original line number Diff line number Diff line
@@ -389,7 +389,7 @@ func (s *ApiServer) AuthenticateFacebook(ctx context.Context, in *api.Authentica
	}

	// Import friends if requested.
	if in.Sync == nil || in.Sync.Value {
	if in.Sync != nil && in.Sync.Value {
		_ = importFacebookFriends(ctx, s.logger, s.db, s.router, s.socialClient, uuid.FromStringOrNil(dbUserID), dbUsername, in.Account.Token, false)
	}