Skip to content

fix: also check if the member is the owner on UserProfileRoles.tsx#1053

Merged
Dadadah merged 2 commits intostoatchat:mainfrom
amycatgirl:fix/higher-role-preventing-edit-for-owners
Apr 25, 2026
Merged

fix: also check if the member is the owner on UserProfileRoles.tsx#1053
Dadadah merged 2 commits intostoatchat:mainfrom
amycatgirl:fix/higher-role-preventing-edit-for-owners

Conversation

@amycatgirl
Copy link
Copy Markdown
Contributor

This fixes an issue with how role rankings in UserProfileRoles were calculated, where it was not checking if the member being targeted was both ourselves and the owner of the server.

This seemed to confuse new users who were creating servers and had "owner" roles that were not ordered properly.

Signed-off-by: Amy <amy+git@amogus.cloud>
@amycatgirl amycatgirl requested review from a team as code owners March 23, 2026 17:23
@Dadadah Dadadah merged commit a7a70ee into stoatchat:main Apr 25, 2026
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants