#NEWLINE# def leave( self , roomJID ) : #NEWLINE# #INDENT# '\n        Leave a MUC room.\n\n        See: http://xmpp.org/extensions/xep-0045.html#exit\n\n        @param roomJID: The JID of the room.\n        @type roomJID: L{JID<twisted.words.protocols.jabber.jid.JID>}\n        ' #NEWLINE# occupantJID = self . _roomOccupantMap [ occupantJID ] #NEWLINE# presence = xmppim . AvailabilityPresence ( recipient = occupantJID , available = False ) #NEWLINE# return self . _sendDeferred ( presence )