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 incorrect prevEv being sent in ClientEvent.AccountData events #2794

Merged
merged 1 commit into from
Oct 24, 2022

Conversation

t3chguy
Copy link
Member

@t3chguy t3chguy commented Oct 24, 2022

Account data events don't have an ID, clobber them on type instead
If multiple account data events came down sync, the previous event of the last event in the list was used for all prevEv's sent


Here's what your changelog entry will look like:

🐛 Bug Fixes

  • Fix incorrect prevEv being sent in ClientEvent.AccountData events (#2794).

@t3chguy t3chguy requested a review from a team as a code owner October 24, 2022 13:02
Copy link
Contributor

@weeman1337 weeman1337 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks good 👍

@t3chguy t3chguy merged commit 9bdeea0 into develop Oct 24, 2022
@t3chguy t3chguy deleted the t3chguy/account-data-prev-event branch October 24, 2022 14:30
su-ex added a commit to SchildiChat/matrix-js-sdk that referenced this pull request Nov 12, 2022
* Loading threads with server-side assistance ([\matrix-org#2735](matrix-org#2735)). Contributed by @justjanne.
* Support sign in + E2EE set up using QR code implementing MSC3886, MSC3903 and MSC3906 ([\matrix-org#2747](matrix-org#2747)). Contributed by @hughns.
* Replace `instanceof Array` with `Array.isArray` ([\matrix-org#2812](matrix-org#2812)). Fixes matrix-org#2811.
* Emit UnreadNotification event on notifications reset ([\matrix-org#2804](matrix-org#2804)). Fixes element-hq/element-web#23590.
* Fix incorrect prevEv being sent in ClientEvent.AccountData events ([\matrix-org#2794](matrix-org#2794)).
* Fix build error caused by wrong ts-strict improvements ([\matrix-org#2783](matrix-org#2783)). Contributed by @justjanne.
* Encryption should not hinder verification ([\matrix-org#2734](matrix-org#2734)).
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