You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I looked at this in the debugger.
When we draw the message we add in any available reactions as individual buttons. When you click that button, we call removeReaction and then fetchReactions. Unfortunately, we don't remove all the buttons that are already there so we end up incrementing the value instead of, you know, removing the button.
So we'll have to figure out how to smartly refresh reactions on the message when they're refetched and remove buttons if they get to zero. i.e. not in the array we fetch from the homeserver.
Although, after "removing" my 👍 via Eigen and adding it again via Element... I'm getting this:
because it doesn't fall in the myUserHasReacted part of the logic tree. we only increment the number if myUserHasReacted
See video:
Screen.Recording.2023-04-12.at.20.51.54.mov
The text was updated successfully, but these errors were encountered: