-
-
Notifications
You must be signed in to change notification settings - Fork 389
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Wrong posts displayed in timeline #4588
Comments
Are you logged in with multiple accounts, and if yes could this be the same bug where Tusky confuses posts of different accounts? |
i'm logged in with multiple accounts (mine & the bot account on my instance), but the other account doesn't follow the accounts in the video |
I think it happens mostly when I have a bad internet connection, but I'm not sure |
This does 2 things: - Removes `AccountSwitchInterceptor`, the main culprit for the bug. APIs can no longer change their base url after they have been created. As a result they are not Singletons anymore. - Additionally, I refactored how MainActivity handles Intents to make it less likely to have multiple instances of it active. Here is how I could reliably reproduce the bug: - Be logged in with account A and B - Write a post with account A, cancel it before it sends (go into flight mode for that) - Switch to account B - Open the "this post failed to send" notification from account A, drafts will open - Go back. You are in the MainActivity of account A, everything seems fine. - Go back again. You are in the old, now broken MainActivity of account B. It uses the database of account B but the network of account A. Refreshing will show posts from A. closes #4567 closes #4554 closes #4402 closes #4148 closes #2663 and possibly #4588
Is this the same post, boosted by the same person, but with different timestamps in the timeline twice? Weird, but that might be a clie what is happening. Do you remember what you did before the video starts? |
yes, but clicking on the top one leads to another post with the timestamp of one minute ago
not really, i probably just refreshed the timeline to load more posts |
Detailed description
Sometimes shortly after loading more posts into the timeline near the top of it, the posts that are shown are wrong. They were near the top before but should've been replaced by new ones and when I click on them I get to different posts. This happened multiple times.
screen-20240724-225511.mp4
Steps to reproduce the problem
...
Debug information
Reading order: Newest first
The text was updated successfully, but these errors were encountered: