Closed linfindel closed 3 weeks ago
Thanks for the report!
The initial value is based on what Mastodon returns. Would you mind helping me debug this a bit further?
You can either:
curl
, jq
and libsecret-tools
(you probably do), run:$ curl 'https://mastodon.social/api/v1/accounts/verify_credentials' -H "Authorization: Bearer $(secret-tool lookup xdg:schema dev.geopjr.Tuba login @nathanhadley@mastodon.social | jq -r .'"access-token"')" | jq .source.follow_requests_count
https://mastodon.social/api/v1/accounts/verify_credentials
, click send, click the new entry at the bottom of the Network tab, click 'Response', copy the follow_requests_count
field under sources
And send back the result.
If it's anything but 0, then it's probably an issue with the server, which I can try and help you fix by sending u a follow request and hope it resets it
If it's 0, then the problem lies somewhere else with notifications + tuba
The curl
returned null so I tried the browser method and the follow_requests_count
is 1. I forgot to mention in the report that someone has sent me a follow request (which I accepted) since this started happening and the number displayed went up to 2 follow requests before dropping back to 1 after I accepted it. In any case, I guess it's not a Tuba issue. Odd that it only shows in Tuba though.
There's different ways to get the follower request count, Tuba uses the one you used above, but others might use different APIs. Tuba already calls that to get the server side settings (like your preferred visibility) so it might as well get it from there.
Now, I have no idea why it's stuck :/
I'll send you a follow request from mastodon.social test account, try declining it and see if it fixes the problem
I declined it and it didn't work. I tried turning on automatically accepting follow requests in my account settings and that didn't fix it either.
Oh wait it's gone now. Guess the server needed a bit of time :) Should I close this now? Thank you for your time!
No problem, glad you got it fixed!
My guess is maybe mastodon.social restored a database backup or similar while updating to the newest mastodon version that released recently and your follower count was stuck :shrug:
I'll close this!
Describe the bug
After receiving a follow request, the banner notifying me shows up. I declined the follow request weeks ago but since then, every time I open Tuba, it shows up again. I can temporarily dismiss it by clicking the
View
button but next time I open Tuba it shows again. Screencast from 2024-10-09 11-20-39.webmThis doesn't happen on any other accounts I tested with or any other Mastodon clients. None of the following have fixed it:
I don't know if this is relevant but the account is https://mastodon.social/@nathanhadley
Steps To Reproduce
View
buttonLogs and/or Screenshots
Instance Backend
Mastodon
Operating System
Fedora 40
Package
Flatpak
Troubleshooting information
os: GNOME 46 (Flatpak runtime) prefix: /app flatpak: true version: 0.8.4 (production) gtk: 4.14.5 (4.14.4) libadwaita: 1.5.4 (1.5.3) libsoup: 3.4.4 (3.4.4) libgtksourceview: 5.12.1 (5.12.1)
Additional Context
No response