def leave(self, roomJID):
    '\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        '
    occupantJID = self._roomOccupantMap[roomJID]
    presence = xmppim.AvailabilityPresence(recipient=occupantJID, available=False)
    return self._sendDeferred(presence)
Leave a MUC room.

See: http://xmpp.org/extensions/xep-0045.html#exit

@param roomJID: The JID of the room.
@type roomJID: L{JID<twisted.words.protocols.jabber.jid.JID>}
def leave(self, roomJID):
    '\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        '
    occupantJID = self._roomOccupantMap[roomJID]
    presence = xmppim.AvailabilityPresence(recipient=occupantJID, available=False)
    return self._sendDeferred(presence)