chat-engine-mute

Prevent a Chat from emitting events from a specific User.

Source:

require('chat-engine-mute')()

Source:
Example
userObject = chat.users['user-uuid'];
chat.plugin(ChatEngineCore.plugin['chat-engine-mute']());

// mute user
chat.muter.mute(userObject);

// unmute user
chat.muter.unmute(userObject);

// mute status
chat.muter.isMuted(userObject);
// false

Requires

Methods

(inner) muter.isMuted()

Augments:
Source:

Check if a User is muted within the Chat.

(inner) muter.mute()

Augments:
Source:

Prevent all events emitted from this User from reaching Chat.

(inner) muter.unmute()

Augments:
Source:

Allow events from a User to be emitted again.