Skip to content

Commit 78dcb08

Browse files
Revert(core): revert - remove session_id check to determine when to call v1/open
This reverts commit 85a728b.
1 parent 7b666e8 commit 78dcb08

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/6_branch.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -575,7 +575,7 @@ Branch.prototype['init'] = wrap(
575575
}
576576
}
577577
};
578-
if (sessionData && !link_identifier && !utils.getParamValue('branchify_url')) {
578+
if (sessionData && sessionData['session_id'] && !link_identifier && !utils.getParamValue('branchify_url')) {
579579
// resets data in session storage to prevent previous link click data from being returned to Branch.init()
580580
session.update(self._storage, { "data": "" });
581581
session.update(self._storage, { "referring_link": "" });

0 commit comments

Comments
 (0)