Skip to content

Session Android mention list incorrectly renders user profile avatar after inputing a user's name then backspacing to clear the input #233

@ghost

Description

@ghost

Code of conduct

Describe the bug

Session Android mention candidate list incorrectly renders a user's profile using another user's avatar in both Community and Group.

To reproduce

Steps to reproduce the behavior:

  1. Alice Android, Bob and Carol create a group and send some messages
  2. Alice Android types "@", a mention candidate list shows up, which looks fine (Screenshot 1)
  3. Alice Android inputs bob, now the input area is showing @bob with only Bob's profile in the mention list, this works as expected as well (Screenshot 2)
  4. Alice Android backspaces bob, with only @ left, now both Carol and Bob's profiles come back to the mention candidate list, but Carol's profile is incorrectly rendered using Bob's avatar showing a capital BO logo (Screenshot 3). This is very wrong.

Screenshots or logs

incorrect render mention

If applicable, add screenshots or logs to help explain your problem.

Smartphone (please complete the following information):

  • Device: [e.g. Android Emulator Pixel 6]
  • OS: [e.g. Android 13.0]
  • Version of Session or latest commit hash: 1.16.5

Additional context

Add any other context about the problem here.

Metadata

Metadata

Labels

bugSomething isn't workinggood-first-issueGood issue for first time contributors

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions