def _setRole(self, roomJID, nick, role, reason=None, sender=None):
    "\n        Send a request to change an occupant's role in a MUC room.\n        "
    request = AdminStanza(recipient=roomJID, sender=sender, stanzaType='set')
    item = AdminItem(nick=nick, role=role, reason=reason)
    request.items = [item]
    return self.request(request)
Send a request to change an occupant's role in a MUC room.
def _setRole(self, roomJID, nick, role, reason=None, sender=None):
    "\n        \n        "
    request = AdminStanza(recipient=roomJID, sender=sender, stanzaType='set')
    item = AdminItem(nick=nick, role=role, reason=reason)
    request.items = [item]
    return self.request(request)