Muting a user does not persist
(Originally filed as pleroma-fe#114 (closed), but this appears to be a bug in pleroma.)
Summary
When I mute a user from pleroma-fe, the UI shows the user as muted and their posts collapse, but when I refresh the page, their posts reappear.
Steps to reproduce
- Visit a user's page (e.g. https://pleroma.site/users/1)
- Click "Mute"
- Refresh the page
Details
Browser: Abrowser 60.0.1
There appear to be some Javascript errors in the console, no idea if they're related, but it looks like something is failing to make a backend call.
I have several extensions installed that might be interfering with Javascript: Privacy Badger, uBlock Origin, HTTPS Everywhere, uMatrix, and Decentraleyes. However, I was able to reproduce in a private window with all the extensions disabled.
I was also able to reproduce this on a second browser (Vivaldi 1.14.1077.60 with V8 6.4.388.46). However, I get a different error message, and it appears that the server is returning HTML when JSON was expected. Here is a screenshot of the console log:
Additionally, thanks to testing by @dulcet@cathoderay.tube, it was found that this bug also occurs when using other clients (Subway Tooter, Tusky, and Pinafore were all tested.)