Skip to content

Commit

Permalink
Add Comment
Browse files Browse the repository at this point in the history
  • Loading branch information
afterxleep committed Oct 9, 2024
1 parent b748004 commit 0744f88
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions DuckDuckGo/DuckPlayer/DuckPlayer.swift
Original file line number Diff line number Diff line change
Expand Up @@ -184,6 +184,9 @@ final class DuckPlayer: DuckPlayerProtocol {
}

public func getUserValues(params: Any, message: WKScriptMessage) -> Encodable? {
// If the user is in the 'control' group, sending 'nil' effectively disables
// Duckplayer in SERP, showing old overlays.
// Fixes: https://app.asana.com/0/1207252092703676/1208450923559111
let duckPlayerExperiment = DuckPlayerLaunchExperiment()
if duckPlayerExperiment.isEnrolled && duckPlayerExperiment.isExperimentCohort {
return encodeUserValues()
Expand Down

0 comments on commit 0744f88

Please sign in to comment.