Reaction counts for replies are mostly real time with some exceptions, if the reply did not return a reaction count for that reaction and the user adds it it will not be counted.
Reproduce
- load a thread page with at least 1 reply that does not contain a reaction
- add any reaction to that reply
- the
unreact button will show but the counts will not adjust
Solution
look at main post counts implementation, we need to have a variable containing all the counts. On server load, adjust each one. On react/unreact we should add/sub from the corresponding reaction counts
Reaction counts for replies are mostly real time with some exceptions, if the reply did not return a reaction count for that reaction and the user adds it it will not be counted.
Reproduce
unreactbutton will show but the counts will not adjustSolution
look at main post counts implementation, we need to have a variable containing all the counts. On server load, adjust each one. On react/unreact we should add/sub from the corresponding reaction counts