def on_invite(self, data):
        """
        Multi-User Chat invite
        """
        if not self._nick:
            self._nick = self.boundjid.user

        # Join the room
        self.plugin["xep_0045"].joinMUC(data["from"], self._nick)
def on_invite ( self , data ) : if not self . _nick : self . _nick = self . boundjid . user self . plugin [ "xep_0045" ] . joinMUC ( data [ "from" ] , self . _nick )
Multi-User Chat invite