posted 17 years ago
JForum-2.1.6
It appears JForum keeps the number of new PMs only in the recipient's session. (See net.jforum.view.forum.PrivateMessageAction). This number is incremented each time a user sends a PM to the recipient if the recipient is logged in and decremented when the recipient reads the message.
When a user logs in and reads a new message, this number is still decremented in his session even if it's zero or less. Consequently, even while the user is logged in, the number of unread messages in his sesssion can become incorrect.
Is this a known issue and are there any plans to compute the number of unread message based on the persistent data in the jforum_privmsgs table, for example?
Does anyone know any workaround?
Thanks.
[originally posted on jforum.net by peko]