def leave(self, roomJID):
        occupantJID = self._roomOccupantMap[roomJID]
        presence = xmppim.AvailabilityPresence(recipient=occupantJID,
                                               available=False)

        return self._sendDeferred(presence)
Leave a MUC room.
dataset/ETHPy150Open ralphm/wokkel/wokkel/muc.py/MUCClientProtocol.leave