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

Fix state_events.ts types #4196

Merged
merged 2 commits into from
May 10, 2024
Merged

Fix state_events.ts types #4196

merged 2 commits into from
May 10, 2024

Conversation

t3chguy
Copy link
Member

@t3chguy t3chguy commented May 10, 2024

Regressed by #4105

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
@richvdh
Copy link
Member

richvdh commented May 10, 2024

If this is a "fix", please could you link to the PR that broke it and describe what was broken, for future archaeologists?

@richvdh
Copy link
Member

richvdh commented May 10, 2024

The change looks right, but I'm somewhat surprised we didn't discover the problem sooner. Don't we hit this codepath in Element Web?

@t3chguy
Copy link
Member Author

t3chguy commented May 10, 2024

Don't we hit this codepath in Element Web?

Looks like it is due to explicit typecasts on the React SDK callers

image
image

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
@richvdh
Copy link
Member

richvdh commented May 10, 2024

Looks like it is due to explicit typecasts on the React SDK callers

(we should probably remove those typecasts)

@t3chguy
Copy link
Member Author

t3chguy commented May 10, 2024

(we should probably remove those typecasts)

Yup, have a changeset brewing locally with that and switching from the deprecated type

@t3chguy
Copy link
Member Author

t3chguy commented May 10, 2024

It's now in matrix-org/matrix-react-sdk#12513

@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks May 10, 2024
@t3chguy t3chguy added this pull request to the merge queue May 10, 2024
Merged via the queue into develop with commit a25cdce May 10, 2024
25 checks passed
@t3chguy t3chguy deleted the t3chguy/fix-join-rule-types branch May 10, 2024 11:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants