public void setMuted ( long userId , boolean muted ) { if ( muted ) { this . muted . add ( userId ) ; } else { this . muted . remove ( userId ) ; } }
Sets the muted state of the user with the given id .