-
-
Notifications
You must be signed in to change notification settings - Fork 605
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 reemitter not being correctly wired on user objects created in storage classes #3796
Conversation
* Set the user creator which is used for creating User objects | ||
* @param creator - A callback that accepts an user-id and returns an User object | ||
*/ | ||
setUserCreator(creator: UserCreator): void; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Temporary solution until we fix element-hq/element-web#26383
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for opening this up!
A few things I believe should be updated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you, LGTM
Storage classes -
memory.ts
andindexeddb.ts
both create user objects without setting it up to emit events on matrix client.This is sometimes preventing the memberlist from updating on incoming presence events because this listener never runs.
Here's what your changelog entry will look like:
🐛 Bug Fixes