From 20c4ff823afff78159218ad1ec1d6338700f7eca Mon Sep 17 00:00:00 2001 From: mathieui Date: Thu, 27 Oct 2016 00:17:29 +0200 Subject: [PATCH] Add missing JID import in XEP-0079 and 0258 --- slixmpp/plugins/xep_0079/stanza.py | 1 + slixmpp/plugins/xep_0258/stanza.py | 1 + 2 files changed, 2 insertions(+) diff --git a/slixmpp/plugins/xep_0079/stanza.py b/slixmpp/plugins/xep_0079/stanza.py index 27480fd6..f959f21b 100644 --- a/slixmpp/plugins/xep_0079/stanza.py +++ b/slixmpp/plugins/xep_0079/stanza.py @@ -8,6 +8,7 @@ from __future__ import unicode_literals +from slixmpp import JID from slixmpp.xmlstream import ElementBase, register_stanza_plugin diff --git a/slixmpp/plugins/xep_0258/stanza.py b/slixmpp/plugins/xep_0258/stanza.py index bc9718c9..c0c7080c 100644 --- a/slixmpp/plugins/xep_0258/stanza.py +++ b/slixmpp/plugins/xep_0258/stanza.py @@ -8,6 +8,7 @@ from base64 import b64encode, b64decode +from slixmpp import JID from slixmpp.util import bytes from slixmpp.xmlstream import ElementBase, ET, register_stanza_plugin