diff --git a/lib/email-client/outlook-client.js b/lib/email-client/outlook-client.js index 9df26f31..09b3ca15 100644 --- a/lib/email-client/outlook-client.js +++ b/lib/email-client/outlook-client.js @@ -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; }