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
When the comment author updates his post and a different user has upvoted the post, when the comment frame is replaced, the undo_vote_icon turns to the default upvote icon which is confusing the user that already upvoted this comment.
When i refresh the page, the icon is the correct one (undo_vote) if the user has liked the comment.
How can it be possible with devise, to check if the current_user has already upvoted when we broadcast the comment update to other users with comment_for_stream. Since static is true, it's always going to render the up_vote icon (for create and update).
Love you logic on this one by the way! Any thoughts?