def setNick(self, nick):
    self.occupantJID = jid.internJID((u'%s/%s' % (self.roomJID, nick)))
    self.nick = nick
def setNick(self, nick):
    self.occupantJID = jid.internJID((u'%s/%s' % (self.roomJID, nick)))
    self.nick = nick