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

Force filter correctly #593

Open
DispatchCommit opened this issue Apr 4, 2021 · 0 comments
Open

Force filter correctly #593

DispatchCommit opened this issue Apr 4, 2021 · 0 comments
Labels
chat Issues related to chat

Comments

@DispatchCommit
Copy link
Collaborator

See comment made here about improvement:
724c4ab#r44640287

Change:

this.messages = this.messages?.filter( message => !m.ids.includes( message._id) ) ;

to something like:

this.executeAction({ forceFilter: m => m.ids.includes( message._if ) });

per comment.

@DispatchCommit DispatchCommit added the chat Issues related to chat label Apr 4, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
chat Issues related to chat
Projects
None yet
Development

No branches or pull requests

1 participant