Skip to content

Instantly share code, notes, and snippets.

@ammezie ammezie/ChatRoom.vue Secret
Last active Nov 13, 2019

Embed
What would you like to do?
// resources/js/ChatRoom.vue
this.channel.on("member.removed", event => {
this.members = this.members.filter(member => {
return member.user.id !== event.user.id;
});
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.