Mute Plugin for ChatEngine
Adds the ability to mute a user in a ChatEngine Chat
Quick Start
- Have a ChatEngine server running already, instantiate a client and connect it
const ChatEngine = ChatEngineCore; ChatEngine;ChatEngine;
- Attach this plugin to the channel you want, in this case global
ChatEngineglobal;
- Pass a user object to the muter to mute a user
let user = ChatEngineglobalusers'user-uuid';ChatEngineglobalmuter;console;// true
- Pass a user object to the muter to unmute a user
let user = ChatEngineglobalusers'user-uuid';ChatEngineglobalmuter;console;// false
Support
- If you need help, have a general question a feature request or to file a bug, contact support@pubnub.com