diff src/plugins/plugin_xep_0234.py @ 1566:ec3848916ee8

plugin ip: implemented XEP-0279 for external ip retrieval + fixed bad exception handling
author Goffi <goffi@goffi.org>
date Sun, 08 Nov 2015 14:44:30 +0100
parents 22f0307864b4
children 268fda4236ca
line wrap: on
line diff
--- a/src/plugins/plugin_xep_0234.py	Fri Nov 06 17:09:45 2015 +0100
+++ b/src/plugins/plugin_xep_0234.py	Sun Nov 08 14:44:30 2015 +0100
@@ -30,11 +30,7 @@
 from twisted.words.xish import domish
 from twisted.words.protocols.jabber import jid
 from twisted.python import failure
-
-try:
-    from twisted.words.protocols.xmlstream import XMPPHandler
-except ImportError:
-    from wokkel.subprotocols import XMPPHandler
+from twisted.words.protocols.jabber.xmlstream import XMPPHandler
 
 
 NS_JINGLE_FT = 'urn:xmpp:jingle:apps:file-transfer:4'