We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 371153e commit 9bdd9c4Copy full SHA for 9bdd9c4
Leanplum-SDK/Classes/LPInbox.m
@@ -301,8 +301,9 @@ - (void)load
301
302
// Download images.
303
BOOL willDownloadImages = NO;
304
- for (LPInboxMessage *message in messages) {
305
- willDownloadImages |= [message downloadImageIfPrefetchingEnabled];
+ for (NSString *messageId in messages) {
+ LPInboxMessage *inboxMessage = [self messageForId:messageId];
306
+ willDownloadImages |= [inboxMessage downloadImageIfPrefetchingEnabled];
307
}
308
309
// Trigger inbox changed when all images are downloaded.
0 commit comments