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 wrong event_id being sent for m.in_reply_to of threads #2213

Merged
merged 1 commit into from
Mar 2, 2022

Conversation

t3chguy
Copy link
Member

@t3chguy t3chguy commented Mar 2, 2022


Here's what your changelog entry will look like:

🐛 Bug Fixes

  • Fix wrong event_id being sent for m.in_reply_to of threads (#2213).

@codecov-commenter
Copy link

codecov-commenter commented Mar 2, 2022

Codecov Report

Merging #2213 (4d68eb1) into develop (4e4afdb) will not change coverage.
The diff coverage is 100.00%.

@@           Coverage Diff            @@
##           develop    #2213   +/-   ##
========================================
  Coverage    57.63%   57.63%           
========================================
  Files           90       90           
  Lines        16263    16263           
  Branches      3741     3741           
========================================
  Hits          9373     9373           
  Misses        6890     6890           
Impacted Files Coverage Δ
src/client.ts 34.82% <100.00%> (ø)

@t3chguy t3chguy merged commit 0abee2a into develop Mar 2, 2022
@t3chguy t3chguy deleted the t3chguy/fix/21267 branch March 2, 2022 14:27
@andybalaam
Copy link
Member

Can we test this?

@t3chguy
Copy link
Member Author

t3chguy commented Mar 4, 2022

Its a type failure, should be caught by better typing rather than tests imo

@andybalaam
Copy link
Member

I mean, stronger typing would have prevented this bug, but a test of this function could have prevented many others, right? (E.g. missing this field altogether, or supplying "".)

su-ex added a commit to SchildiChat/matrix-js-sdk that referenced this pull request Mar 17, 2022
* Improve typing around event emitter handlers ([\matrix-org#2180](matrix-org#2180)).
* Fix defer not supporting resolving with a Promise<T> ([\matrix-org#2216](matrix-org#2216)).
* add LocationAssetType enum ([\matrix-org#2214](matrix-org#2214)).
* Support for mid-call devices changes ([\matrix-org#2154](matrix-org#2154)). Contributed by @SimonBrandner.
* Add new room state emit RoomStateEvent.Update for lower-frequency hits ([\matrix-org#2192](matrix-org#2192)).
* Fix wrong event_id being sent for m.in_reply_to of threads ([\matrix-org#2213](matrix-org#2213)).
* Fix wrongly asserting that PushRule::conditions is non-null ([\matrix-org#2217](matrix-org#2217)).
* Make createThread more resilient when missing rootEvent ([\matrix-org#2207](matrix-org#2207)). Fixes element-hq/element-web#21130.
* Fix bug with the /hierarchy API sending invalid requests ([\matrix-org#2201](matrix-org#2201)). Fixes element-hq/element-web#21170.
* fix relation sender filter ([\matrix-org#2196](matrix-org#2196)). Fixes element-hq/element-web#20877.
* Fix bug with one-way audio after a transfer ([\matrix-org#2193](matrix-org#2193)).
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.

4 participants