Skip to content

Commit 2d2957c

Browse files
committed
Fix crash if influenceType is direct but there is no directId set
cherry-pick of #1311
1 parent 93f5eb3 commit 2d2957c

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

iOS_SDK/OneSignalSDK/OneSignalOutcomes/Source/Influence/OSChannelTracker.m

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,6 @@ - (OSInfluence *)currentSessionInfluence {
146146
} else {
147147
[OneSignalLog onesignalLog:ONE_S_LL_ERROR message:@"OSChannelTracker:currentSessionInfluence found a direct influence without a direct id."];
148148
}
149-
150149
}
151150
} else if (_influenceType == INDIRECT) {
152151
if ([self isIndirectSessionEnabled]) {

0 commit comments

Comments
 (0)