Skip to content

Comments

Fix sync error#885

Merged
bwindels merged 1 commit intomasterfrom
fix-866
Oct 14, 2022
Merged

Fix sync error#885
bwindels merged 1 commit intomasterfrom
fix-866

Conversation

@MidhunSureshR
Copy link
Member

Fixes #866

For a non-archived room, the composer vm is created via an async method (async _recreateComposerOnPowerLevelChange()) that is called from the ctor. It is possible that a room change event occurs before this async method finishes which would call emitChange on a composer that is yet to be created.

@MidhunSureshR
Copy link
Member Author

#851 already includes this change.

@bwindels bwindels merged commit 89d0319 into master Oct 14, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Sync failed because of TypeError: Cannot read properties of null (reading 'emitChange')

2 participants