Skip to content

Commit

Permalink
fix(outlook-api): Fixed missing redis object
Browse files Browse the repository at this point in the history
  • Loading branch information
andris9 committed Oct 25, 2024
1 parent 4f56fe3 commit c248e49
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions lib/email-client/outlook-client.js
Original file line number Diff line number Diff line change
Expand Up @@ -2368,8 +2368,7 @@ class OutlookClient extends BaseClient {
}

// check if we have seen this message before or not (approximate estimation, not 100% exact)
messageData.seemsLikeNew =
messageData.messageSpecialUse !== '\\Sent' && !!(await this.connection.redis.pfadd(this.getSeenMessagesKey(), messageData.messageId));
messageData.seemsLikeNew = messageData.messageSpecialUse !== '\\Sent' && !!(await this.redis.pfadd(this.getSeenMessagesKey(), messageData.messageId));

return messageData;
}
Expand Down

0 comments on commit c248e49

Please sign in to comment.