Merge pull request #2065 from rigrig/improve-messages-memory

messages: improve memory usage
master
Gordon Williams 2022-07-28 08:45:22 +01:00 committed by GitHub
commit 1c261bea03
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -286,6 +286,7 @@ function showMessage(msgid) {
}
}
function goBack() {
layout = undefined;
msg.new = false; saveMessages(); // read mail
cancelReloadTimeout(); // don't auto-reload to clock now
checkMessages({clockIfNoMsg:1,clockIfAllRead:0,showMsgIfUnread:0,openMusic:openMusic});