Skip to content
This repository has been archived by the owner on Sep 11, 2024. It is now read-only.

Fix crash on joining rooms #6841

Closed
wants to merge 1 commit into from
Closed

Fix crash on joining rooms #6841

wants to merge 1 commit into from

Conversation

dbkr
Copy link
Member

@dbkr dbkr commented Sep 20, 2021

#6818 passed roomType
in obbData & then used oobData without null checking, but we don't always
have oobData so joining a room from /join or from an invite would crash.

Fixes element-hq/element-web#19085

Type: defect


Here's what your changelog entry will look like:

🐛 Bug Fixes

Preview: https://6148745ff5df65a5aee3d1c1--matrix-react-sdk.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.

#6818 passed roomType
in obbData & then used oobData without null checking, but we don't always
have oobData so joining a room from /join or from an invite would crash.

Type: defect
@dbkr dbkr requested a review from a team as a code owner September 20, 2021 11:42
@github-actions github-actions bot added the T-Defect Bugs, crashes, hangs, vulnerabilities, or other reported problems label Sep 20, 2021
@SimonBrandner
Copy link
Contributor

Duplicate of #6830 ?

@dbkr
Copy link
Member Author

dbkr commented Sep 20, 2021

Ah, I missed the other fix - merged that instead

@dbkr dbkr closed this Sep 20, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
T-Defect Bugs, crashes, hangs, vulnerabilities, or other reported problems
Projects
None yet
Development

Successfully merging this pull request may close these issues.

/join explodes on develop
3 participants