Comment 0 for bug 1781073

Revision history for this message
Cecilia Vela Gurovic (ceciliavg) wrote :

In the user menu there is a link to the inbox and it shows a text 'x unread', x meaning the number of unread messages we have in the inbox.

This number is saved in the db in the 'usr' table with field name 'unread'. It gets updated everytime we see a message or we receive it by doing -1 / +1.

But this number can get actually out of sync with the real amount of unread messages in the 'notification_internal_activity' for that user.

Maybe on solution could be checking the numbers match everytime we login or access the inbox.