def history(self, roomJID, messages):

        for message in messages:
            stanza = message['stanza']
            stanza['type'] = 'groupchat'

            delay = Delay(stamp=message['timestamp'])

            sender = stanza.getAttribute('from')
            if sender is not None:
                delay.sender = jid.JID(sender)

            stanza.addChild(delay.toElement())

            stanza['to'] = roomJID.userhost()
            if stanza.hasAttribute('from'):
                del stanza['from']

            self.xmlstream.send(stanza)
Send history to create a MUC based on a one on one chat.
dataset/ETHPy150Open ralphm/wokkel/wokkel/muc.py/MUCClientProtocol.history