Skip to content

Commit

Permalink
Correct error in warning-text.
Browse files Browse the repository at this point in the history
  • Loading branch information
josteink committed Apr 17, 2019
1 parent 1c8ebd3 commit 641d2c7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/gmail.js
Original file line number Diff line number Diff line change
Expand Up @@ -2735,7 +2735,7 @@ var Gmail = function(localJQuery) {
const emailData = api.cache.emailIdCache[identifier];
return emailData && emailData.thread_id;
} else if (api.check.data.is_legacy_email_id(identifier)) {
console.warn("GmailJS: Warning! Using legacy-style ID in method expecting new-style IDs! Attempting to resolve via cache, but there's no guarantee this will work!");
console.warn("GmailJS: Warning! Using legacy-style ID in method expecting thread-ID! Attempting to resolve via cache, but there's no guarantee this will work!");
const emailData = api.cache.emailLegacyIdCache[identifier];
return emailData && emailData.thread_id;
}
Expand Down

0 comments on commit 641d2c7

Please sign in to comment.