ability to use jingle negociation even if we don't have farsight. Fixes #7044

This commit is contained in:
Yann Leboulanger 2011-11-06 21:42:04 +01:00
parent 7fb0405e59
commit 197d85e563
2 changed files with 4 additions and 9 deletions

View File

@ -61,14 +61,7 @@ from common import ged
from common import nec
from common.nec import NetworkEvent
if gajim.HAVE_FARSIGHT:
from common.jingle import ConnectionJingle
else:
class ConnectionJingle():
def __init__(self):
pass
def _JingleCB(self, con, stanza):
pass
from common.jingle import ConnectionJingle
from common import dbus_support
if dbus_support.supported:

View File

@ -32,9 +32,11 @@ Handles the jingle signalling protocol
import xmpp
import helpers
import gajim
from jingle_session import JingleSession, JingleStates
from jingle_rtp import JingleAudio, JingleVideo
if gajim.HAVE_FARSIGHT:
from jingle_rtp import JingleAudio, JingleVideo
class ConnectionJingle(object):