Skip to content

Allow logged in users to refresh polls

Marie requested to merge feat/refreshpoll into develop

What does this PR do?

Allows users to refresh polls (this only works on remote polls for local polls clicking refresh does nothing)

Had to modify the ApQuestionService file a tiny bit so instead of doing a !== check it now does a !( > ) check

I only was able to test it with a few polls locally by pulling in the poll on the local instance and on my akkoma instance and then voting for a choice on both followed by waiting 3-4 minutes before clicking refresh due to caching.

Closes #743

Contribution Guidelines By submitting this merge request, you agree to follow our Contribution Guidelines

  • I agree to follow this project's Contribution Guidelines
  • I have made sure to test this pull request

Merge request reports