mastodon-android icon indicating copy to clipboard operation
mastodon-android copied to clipboard

Wrong profile displayed as active after clicking on notification

Open realpixelcode opened this issue 3 years ago • 2 comments

  1. Log in to profile A and B in Mastodon.
  2. Switch to profile A.
  3. Click on Mastodon notification for profile B. Mastodon shows the notifications tab for profile B.
  4. 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

realpixelcode avatar May 19 '22 12:05 realpixelcode

I have the same issue.

larsgw avatar Sep 18 '23 23:09 larsgw

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

larsgw avatar Sep 18 '23 23:09 larsgw