Rocket.Chat.Android icon indicating copy to clipboard operation
Rocket.Chat.Android copied to clipboard

[BUG] Wrong name and avatar when switching user

Open Alhrath opened this issue 9 years ago • 1 comments

Your Rocket.Chat.Android version: 1.0.20-DEBUG also tested on 1.0.18 Mobile device model and OS version: Galaxy A3 - Android 6.0.1

When I log in with user A, logout, then log in again with user B, I have user A name and avatar displayed in the menu.

Minimize the app, closing it in the background or even reboot the device doesn't change anything. I have to uninstall and reinstall the app to get the correct name and avatar.

If I do the reverse, first user B then user A, the correct name and avatar are displayed. If I then switch again for user B, I get the wrong user displayed again. In short, user A is always displayed if it has been logged once.

Of course, user A has a smaller ID than user B in the database. User A is also admin, user B is not.

Alhrath avatar Oct 01 '17 12:10 Alhrath

Hum ... pulled the changes, and it seems to work as intended ... :p

Alhrath avatar Oct 01 '17 13:10 Alhrath