RocketChat / RocketChat/Rocket.Chat.ReactNative
bug: Username not updating while switching the workspace
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 2.4k
- Forks
- 1.5k
- Avg merge
- 1d 18h
- Merged PRs (30d)
- 90
Description
Describe the Bug
the username not updating while switching workspace
i created two accounts with same email on different workspaces and tried to switch between them the username shows the username in first workspace
Steps to Reproduce
- Create two accounts in different workspaces with the same email address and a different username.
- Log in to both workspaces via the mobile app.
- Switch to the first workspace and view the profile.
- Observe the username.
- Switch to the second workspace and view the profile.
- Observe the username.
- logout from first workspace
- observe username in 2nd workspace
Expected Behavior
it should show the username of 2nd workspace account
Actual Behavior
its showing the username of first workspace account
Rocket.Chat Server Version
7.11.0
Rocket.Chat App Version
4.65.0
Device Name
Motorola G32
OS Version
13
Additional Context
No response
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the workspace-switching flow on the mobile app using two accounts with the same email but different usernames, then trace how the active workspace profile is loaded and retained through logout. Done means the profile shows the username belonging to the currently selected workspace, including after logging out of the first workspace.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- react-native, typescript
- Domain
- mobile
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100