Skip to content

Commit e6bf0d7

Browse files
author
thyttan
committed
messagegui: add FIXME comment
1 parent 6b6f79f commit e6bf0d7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

apps/messagegui/app.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -302,7 +302,7 @@ function showMessagesScroller(msg, persist) {
302302
for (let i=0 ; i<MESSAGES.length ; i++) {
303303
if (MSG_IDX === i) {initScroll = allLines.length*FONT_HEIGHT}
304304
let msgIter = MESSAGES[i];
305-
msgIter.new = false;
305+
msgIter.new = false; // FIXME: Update "new" status in the scrollers draw method instead. A message should not be marked as read if it has not been displayed on screen.
306306

307307
var lines = [];
308308
const TITLE_STRING = msgIter.title||msgIter.sender||msgIter.subject||msgIter.src||/*LANG*/"No Title";

0 commit comments

Comments
 (0)