mastodon-android
mastodon-android copied to clipboard
Wrong profile displayed as active after clicking on notification
- Log in to profile A and B in Mastodon.
- Switch to profile A.
- Click on Mastodon notification for profile B. Mastodon shows the notifications tab for profile B.
- Click on profile switcher: it says you're logged into profile A instead of B.
https://user-images.githubusercontent.com/52963327/169290676-3d0c400b-3613-4ae3-ab69-23ad4468355e.mp4
I have the same issue.
Maybe
AccountSessionManager.getInstance().setLastActiveAccountID(accountID)
after line 55 here:
https://github.com/mastodon/mastodon-android/blob/c517f41595065e735c6d7bd95d7cd24f0bd93e35/mastodon/src/main/java/org/joinmastodon/android/MainActivity.java#L52-L63