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 f055bb5 commit 570c4b3Copy full SHA for 570c4b3
swift-sdk/Internal/InAppManager+Functions.swift
@@ -123,7 +123,7 @@ struct MessagesObtainedHandler {
123
let addedInboxCount = addedMessages.reduce(0) { $1.saveToInbox ? $0 + 1 : $0 }
124
125
var messagesOverwritten = 0
126
- var newMessagesMap = ThreadSafeOrderedDictionary<String, IterableInAppMessage>()
+ let newMessagesMap = ThreadSafeOrderedDictionary<String, IterableInAppMessage>()
127
messages.forEach { serverMessage in
128
let messageId = serverMessage.messageId
129
if let existingMessage = messagesMap[messageId] {
0 commit comments