Grant Badge when user visits link

And you’re using the topic_id and not the post_id for this one?

https://meta.discourse.org/t/grant-badge-when-user-visits-link/276700/17