XKit-Rewritten icon indicating copy to clipboard operation
XKit-Rewritten copied to clipboard

Mass Privater: "(checked {x})" count can be incorrect

Open AprilSylph opened this issue 1 year ago • 1 comments

https://github.com/AprilSylph/XKit-Rewritten/blob/18298b6ad8127ced464852b4d5be539ae9b163d4/src/features/mass_privater.js#L202-L214

If Mass Privater fetches posts that are already privated, it doesn't count them in the "(checked {x})" text.

This can lead to a state where the feature is fetching pages upon pages of already-privated posts (since there is no way to request "only public posts" from the API, or pretend that we're logged-out when fetching...) but the UI is not updated for minutes or potentially even hours at a time.

AprilSylph avatar Sep 05 '24 14:09 AprilSylph

...Whoops.

marcustyphoon avatar Sep 05 '24 18:09 marcustyphoon