plugin ip: implemented XEP-0279 for external ip retrieval + fixed bad exception handling
This commit is contained in:
parent
83eef838a6
commit
1a5f1bd144
1 changed files with 44 additions and 13 deletions
|
|
@ -30,11 +30,7 @@ import os.path
|
|||
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'
|
||||
|
|
|
|||
Loading…
Reference in a new issue