Skip to content

Commit 07bdd27

Browse files
author
BrightMountainMedia
authored
Revert "Fix v2CmpResponseCallback handle (prebid#5564)"
This reverts commit f6ac6d6.
1 parent 966065b commit 07bdd27

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

modules/consentManagement.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -100,9 +100,7 @@ function lookupIabConsent(cmpSuccess, cmpError, hookConfig) {
100100
function v2CmpResponseCallback(tcfData, success) {
101101
utils.logInfo('Received a response from CMP', tcfData);
102102
if (success) {
103-
if (tcfData.gdprApplies === false) {
104-
cmpSuccess(tcfData, hookConfig);
105-
} else if (tcfData.eventStatus === 'tcloaded' || tcfData.eventStatus === 'useractioncomplete') {
103+
if (tcfData.eventStatus === 'tcloaded' || tcfData.eventStatus === 'useractioncomplete') {
106104
cmpSuccess(tcfData, hookConfig);
107105
} else if (tcfData.eventStatus === 'cmpuishown' && tcfData.tcString && tcfData.purposeOneTreatment === true) {
108106
cmpSuccess(tcfData, hookConfig);

0 commit comments

Comments
 (0)