Skip to content

Commit ee60734

Browse files
committed
nit: fix code not removed after rebase
* this chunk of code was removed in #2287 and got lost in the rebase with the main branch
1 parent 777b7d6 commit ee60734

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

OneSignalSDK/onesignal/in-app-messages/src/main/java/com/onesignal/inAppMessages/internal/InAppMessagesManager.kt

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -196,15 +196,6 @@ internal class InAppMessagesManager(
196196
for (redisplayInAppMessage in redisplayedInAppMessages) {
197197
redisplayInAppMessage.isDisplayedInSession = false
198198
}
199-
200-
// attempt to fetch messages from the backend (if we have the pre-requisite data already)
201-
val onesignalId = _userManager.onesignalId
202-
val updateConditionDeferred =
203-
_consistencyManager.getRywDataFromAwaitableCondition(IamFetchReadyCondition(onesignalId))
204-
val rywToken = updateConditionDeferred.await()
205-
if (rywToken != null) {
206-
fetchMessages(rywToken)
207-
}
208199
}
209200
}
210201

0 commit comments

Comments
 (0)