X-Git-Url: https://code.citadel.org/?a=blobdiff_plain;f=webcit-ng%2Fstatic%2Fjs%2Fview_mail.js;h=d058f470ecf35727d3820f4e455275e6c4c720d2;hb=971823f82e72a06e6096606d2063f0836886ffbb;hp=0efdf37f6ad60b2b77aae3810fbfb2249f0948ae;hpb=c0342d49133f1fff5057077e513cdf02f3123746;p=citadel.git diff --git a/webcit-ng/static/js/view_mail.js b/webcit-ng/static/js/view_mail.js index 0efdf37f6..d058f470e 100644 --- a/webcit-ng/static/js/view_mail.js +++ b/webcit-ng/static/js/view_mail.js @@ -372,9 +372,9 @@ function refresh_mail_display() { fetch_stat = async() => { response = await fetch(url); stat = await(response.json()); - if (stat.room_mtime > room_mtime) { // FIXME commented out to force refreshes + if (stat.room_mtime > room_mtime) { // if modified... room_mtime = stat.room_mtime; - render_mailbox_display(newmail_notify.YES); + render_mailbox_display(newmail_notify.YES); // ...force a refresh } } fetch_stat();