Skip to content

Commit 44081a8

Browse files
authored
Merge pull request #734 from Iterable/MOB-7673
Mob 7673 Fixes issue with updating embedded content
2 parents c877b50 + 8111fd6 commit 44081a8

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

swift-sdk/Internal/IterableEmbeddedManager.swift

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -210,10 +210,8 @@ class IterableEmbeddedManager: NSObject, IterableInternalEmbeddedManagerProtocol
210210
}
211211

212212
private func notifyUpdateDelegates(_ processor: EmbeddedMessagingProcessor) {
213-
if (processor.newlyRemovedMessageIds().count > 0 || processor.newlyRetrievedMessages().count > 0) {
214-
for listener in listeners.allObjects {
215-
listener.onMessagesUpdated()
216-
}
213+
for listener in listeners.allObjects {
214+
listener.onMessagesUpdated()
217215
}
218216
}
219217

0 commit comments

Comments
 (0)