Error on Settings
Describe the bug Using Phanpy with GoToSocial. When going to "Settings" I am getting a small bubble at the top of the page stating:
Failed to execute 'atob' on 'Window': The string to be decoded is not correctly encoded.
Can't enable notifications either. I get:
Failed to update subcription. Please try again.
To Reproduce Steps to reproduce the behavior:
- Go to 'Settings'.
- See error on bubble at the top of the page.
- Click on "Allow from Anyone", and pick "Follow", etc.
- See error on bubble at the top of the page.
Expected behavior I would expect for things to work.
Desktop (please complete the following information):
- OS: Ubuntu Linux 24.04
- Browser: Chrome
- Version: 125.0.6422.112
Not sure if this is something not supported by GoToSocial.
This is happening at https://m.ferengi.one/ running bleeding edgeish (2024.06.03.6d7eddc). Issue doesn't show on https://phanpy.social/.
Hmm, well, clearing the cache fixed this issue. I have two accounts configured, maybe trying to set notifications for both caused the issue? In any case, it is now gone. Will close this issue later today.
Well, now it is the notifications they aren’t working. Tick the boxes and they do not stick. All this is happening on settings.
I might have gotten confused all along. GoToSocial doesn’t support pushed notifications yet, so I figure the notifications setting never worked with it. Sorry about the noise. 😞
Hmm I could add a few checks in the code — it just assumes that the web push API is supported. Probably need to figure out how to know if the instance supports web push 🤔