Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prevent crash when opening room permission on conduit homeserver #312

Merged
merged 2 commits into from
Feb 14, 2022

Conversation

ginnyTheCat
Copy link
Contributor

@ginnyTheCat ginnyTheCat commented Feb 13, 2022

Description

This prevents the room permission tab from crashing Cinny on the Conduit homeserver by showing the default power levels if the homeserver does not include it in its response.

Fixes #310

Type of change

Please delete options that are not relevant.

  • Bug fix (non-breaking change which fixes an issue)

Checklist:

  • My code follows the style guidelines of this project
  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings

Preview: https://620a70c20c5bd51abd924e29--pr-cinny.netlify.app
⚠️ Do you trust the author of this PR? Maybe this build will steal your keys or give you malware. Exercise caution. Use test accounts.

@ginnyTheCat ginnyTheCat marked this pull request as ready for review February 13, 2022 18:25
@ajbura ajbura merged commit ff9d509 into cinnyapp:dev Feb 14, 2022
@ginnyTheCat ginnyTheCat deleted the conduit-powerlevels branch February 14, 2022 15:14
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.

Cinny fails to load room permissions tab [Conduit server]
2 participants