Fixed Conversation bubble count incorrect...

Affected version
2.0.2

Fethi.dz

Active member
#1
Hi,

I upgraded my forum from 1.5.16 to 2.0.2 and found that the conversation bubble count was incorrect.

I did rebuild the user cash and fix the problem for a moment but as soon I click on the conversation icon the count goes back 10 as you can see…

 

Chris D

XenForo developer
Staff member
#7
This situation occurred because we do a recount of the badge count when the pop up opens. That recount is based on count($conversations['unread']). Obvious problem is, as we only retrieve a maximum of 10 conversations, if you have more than 10, then the count was rebuilt to 10.

Solution was just to query for the correct count. Costs an extra query but better than being wrong :)
 
Top