Skip to content

Avatar not shown at all if permission can not be changed #5634

@mxandreas

Description

@mxandreas

Steps to reproduce

  1. Jim create a room.
  2. Jim upgrades room to v12.
  3. Jim invites Andreas to the room.
  4. Jim makes Andreas an Admin.
  5. Jim goes to the Roles and permissions > Edit Owners or Admins

Outcome

What did you expect?

Jim's (own) avatar appears in the horizontal bar at the top because they are an admin, however the close/remove button does not appear on the avatar, because Jim can't change his own permission (the corresponding checkbox below is also disabled).

What happened instead?

Jim's (own) avatar does not appear at all at the top, making the view inconsistent - e.g. Jim is actually an owner (checkbox checked below) but avatar not shown at the top.

Image

Your phone model

No response

Operating system version

No response

Application version and app store

No response

Homeserver

No response

Will you send logs?

Yes

Are you willing to provide a PR?

No

Metadata

Metadata

Assignees

Labels

O-OccasionalAffects or can be seen by some users regularly or most users rarelyS-MinorImpairs non-critical functionality or suitable workarounds existT-DefectSomething isn't working: bugs, crashes, hangs and other reported problems

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions