diff --git a/ios/RNEmarsysInboxWrapper.m b/ios/RNEmarsysInboxWrapper.m index 4ed4e55..04400ad 100644 --- a/ios/RNEmarsysInboxWrapper.m +++ b/ios/RNEmarsysInboxWrapper.m @@ -79,7 +79,7 @@ - (NSMutableDictionary *)convertMessageToMap:(EMSMessage *)message { NSMutableDictionary *map = [[NSMutableDictionary alloc] init]; [map setObject: message.id forKey: @"id"]; - [map setObject: message.id forKey: @"messageId"]; + [map setObject: message.id forKey: @"messageId"]; // deprecated. to be removed [map setObject: message.campaignId forKey: @"campaignId"]; [map setObject: message.collapseId ?: @"" forKey: @"collapseId"]; [map setObject: message.title forKey: @"title"];