webv4 header should show count for unread mail instead of all mail (using new...
Merged
webv4 header should show count for unread mail instead of all mail (using new...
mlong/webv4mail
into
master
1 unresolved thread
1 unresolved thread
webv4 header should show count for unread mail instead of all mail (using new user.stats.unread_mail_waiting)
Merge request reports
Activity
Filter activity
6 6 if (user.number < 1 || user.alias == settings.guest) return; 7 7 if (time() - last_run <= frequency) return; 8 8 last_run = time(); 9 const count = user.stats.mail_waiting; 9 const count = user.stats.unread_mail_waiting; Ideally, you would make something like this backwards compatible:
const count = typeof user.stats.unread_mail_waiting === "undefined" ? user.stats.mail_waiting : user.stats.unread_mail_waiting;
So if someone wanted to, they could run newer ecweb with older sbbs. There may be other reasons preventing use with the current webv4 with older sbbs however.
mentioned in commit 91731097
Please register or sign in to reply