public void setSelfDeafened ( long userId , boolean deafened ) { if ( deafened ) { selfDeafened . add ( userId ) ; } else { selfDeafened . remove ( userId ) ; } }
Sets the self - deafened state of the user with the given id .