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 outgoing messages for rust-crypto #3025

Merged
merged 2 commits into from
Jan 5, 2023

Conversation

richvdh
Copy link
Member

@richvdh richvdh commented Jan 4, 2023

Fixes to #3019

It turns out that MatrixClient uses a FetchHttpApi instance with opts.onlyData = true, so it was returning the json-parsed response rather than the raw response. Change the way we call authedRequest so that we get the raw body back.


This change is marked as an internal change (Task), so will not be included in the changelog.

It turns out that MatrixClient uses a `FetchHttpApi` instance with
`opts.onlyData = true`, so it was returning the json-parsed response rather
than the raw response. Change the way we call `authedRequest` so that we get
the raw body back.
@richvdh richvdh added the T-Task Tasks for the team like planning label Jan 5, 2023
@richvdh richvdh marked this pull request as ready for review January 5, 2023 10:15
@richvdh richvdh requested a review from a team as a code owner January 5, 2023 10:15
@richvdh richvdh merged commit ec6272a into develop Jan 5, 2023
@richvdh richvdh deleted the rav/element-r/fix_outgoing_requests branch January 5, 2023 15:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
T-Task Tasks for the team like planning
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants