I have enabled alternative layout with vote control on discussions list. When I use search, some discussions are displayed as voted even if I never voted for them. It looks like this indicator shows whether post author voted for his own discussion, not me.
Reverting this change in src/AddPostData.php fixes this issue:
Bug Report
I have enabled alternative layout with vote control on discussions list. When I use search, some discussions are displayed as voted even if I never voted for them. It looks like this indicator shows whether post author voted for his own discussion, not me.
Reverting this change in
src/AddPostData.php
fixes this issue:https://github.com/FriendsOfFlarum/gamification/commit/80e7499fd02dd94e87ae819a0115ada2ad62f4dd#diff-dfd8aa62538bb3adafcc3b59fccee0e1b49d578146f36ade585858d08ff63da6
Screenshots
Discussions list (2 discussion are marked as voted by me):
When enter these discussions, indicator changes: