Update the e2e test to work with latest slixmpp

This commit is contained in:
louiz’
2019-09-18 12:26:38 +02:00
parent cd5f7f5cd1
commit 55e53852d7
+1 -1
View File
@@ -54,7 +54,7 @@ class XMPPComponent(slixmpp.BaseXMPP):
self.stream_header = '<stream:stream %s %s from="%s" id="%s">' % ( self.stream_header = '<stream:stream %s %s from="%s" id="%s">' % (
'xmlns="jabber:component:accept"', 'xmlns="jabber:component:accept"',
'xmlns:stream="%s"' % self.stream_ns, 'xmlns:stream="%s"' % self.stream_ns,
self.boundjid, self.get_id()) self.boundjid, self.new_id())
self.stream_footer = "</stream:stream>" self.stream_footer = "</stream:stream>"
self.register_handler(slixmpp.Callback('Match All', self.register_handler(slixmpp.Callback('Match All',