diff --git a/muttator/content/mail.js b/muttator/content/mail.js index c8513d7c..60df88ab 100644 --- a/muttator/content/mail.js +++ b/muttator/content/mail.js @@ -588,14 +588,14 @@ function Mail() //{{{ if (mail.currentFolder.isServer) return liberator.beep(); - mail.currentFolder.markAllMessagesRead(); + mail.currentFolder.markAllMessagesRead(msgWindow); }); mappings.add(myModes, [""], "Mark all messages as read", function () { - mail.getFolders("", false).forEach(function (folder) { folder.markAllMessagesRead(); }); + mail.getFolders("", false).forEach(function (folder) { folder.markAllMessagesRead(msgWindow); }); }); // DISPLAY OPTIONS