Skip to content

Commit

Permalink
Merge pull request #473 from apptentive/fix-legacy-token
Browse files Browse the repository at this point in the history
Look for legacyToken, not token, on migrated convo
  • Loading branch information
frankus authored Jul 28, 2017
2 parents 2b26ef3 + a812a69 commit d6b5d47
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ - (ApptentiveConversation *)loadConversation {

[Apptentive.shared.backend migrateLegacyCoreDataAndTaskQueueForConversation:legacyConversation conversationDirectoryPath:[self conversationContainerPathForDirectoryName:legacyConversation.directoryName]];

if (legacyConversation.token) {
if (legacyConversation.legacyToken) {
[self fetchLegacyConversation:legacyConversation];

[self migrateEngagementManifest];
Expand Down

0 comments on commit d6b5d47

Please sign in to comment.