Tuba icon indicating copy to clipboard operation
Tuba copied to clipboard

Persistent follow request notification on account with "Automatically accept new followers" turned off

Open juanejot opened this issue 11 months ago • 5 comments

Describe the bug

Recently (within the week?) on Tuba 0.9.2 (both on KDE & GNOME), I have been repeatedly informed of a follow request. When I click on it, there is no such follow request listed. When I log in on the web, there is likewise no follow request. Tokodon does not show this follow request. Neither do the Mastodon client or Trunks on iOS.

Steps To Reproduce

  1. Open Tuba
  2. After a brief spin of retrieving my account info, "1 Follow Request" is shown in the upper left.
  3. Upon clicking on the indicated button, a ghost (cute) tells me there are no follow requests.
  4. Checking on follow requests online shows none.
  5. This happens every time I open Tuba on either mentioned system, and revoking tokens and logging back in has no effect.

Logs and/or Screenshots

Image

Image

<paste your logs here>

Instance Backend

Mastodon

Operating System

cachyOS with kernel 6.14.0-1-cachyos through 6.14.0-4-cachyos running GNOME 47 through 48, Arch with kernel 6.13.8.arch1-1 on KDE 6.3.2 through 6.3.3

Package

OS repositories

Troubleshooting information

os: CachyOS Linux (null) prefix: /usr flatpak: false version: 0.9.2 (production) gtk: 4.18.2 (4.16.12) libadwaita: 1.7.0 (1.6.4) libsoup: 3.6.5 (3.6.4) libgtksourceview: 5.16.0 (5.14.2) libspelling: true Clapper: 0.8.0 (0.8.0) GStreamer: GStreamer 1.26.0 (1.12.24.0)

Additional Context

No response

juanejot avatar Mar 28 '25 20:03 juanejot

Thanks for the report!

Tuba does not keep track of follow requests itself, when you open Tuba and it fetches your account, the server tells Tuba that there is one pending follow request.

Your issue sounds awfully similar to #1154. You can try the instructions I've listed in my comment there to verify yourself but it feels like a server issue.

Now, I wonder how we could work around it from our side 🤔 Maybe we can also check if there are any from the API instead of taking whatever the server tells us during account fetching at face value.

GeopJr avatar Mar 29 '25 08:03 GeopJr

Actually, would you also mind telling me if you are on mastodon.social by any chance? I have a suspicion that this issue might be mastosoc exclusive due to the amount of stress their servers are under.

GeopJr avatar Mar 29 '25 10:03 GeopJr

The symptom in #1154 does look similar, though I'm not aware of any follow requests I've declined. I am not on mastodon.social. If it's server-side, I'd be happy to check in with my admin on it, though again, I haven't seen this on the web or on any other client.

juanejot avatar Mar 29 '25 22:03 juanejot

This issue only started occurring a week ago for me. In my case I don't have follower restrictions in place (i.e. I automatically accept new followers), and my account was associated with Tuba over a year ago, but I am on mastodon.social …

nekohayo avatar May 28 '25 16:05 nekohayo

The issue is on the server but since Mastodon itself doesn't seem to use it then I guess we should switch our ways too.

Currently: We activate the account on start => Server returns some data like saved settings etc, including a follow_requests_count => we use that for the banner

After: We ignore follow_requests_count and instead do another request to check the actual amount

We can't just ignore it for non-private accounts because you still get follower requests under some circumstances. E.g. if your server has restricted another (not suspended), when people follow you from there, they'll end up in your follow requests regardless of your settings

GeopJr avatar May 28 '25 16:05 GeopJr