use a str instance instead of a xmpp.JID instance
This commit is contained in:
parent
20755acedc
commit
5f70d6b78e
|
@ -91,7 +91,7 @@ class JingleSession(object):
|
||||||
# our full jid
|
# our full jid
|
||||||
self.ourjid = gajim.get_jid_from_account(self.connection.name) + '/' + \
|
self.ourjid = gajim.get_jid_from_account(self.connection.name) + '/' + \
|
||||||
con.server_resource
|
con.server_resource
|
||||||
self.peerjid = str(jid) # jid we connect to
|
self.peerjid = jid # jid we connect to
|
||||||
# jid we use as the initiator
|
# jid we use as the initiator
|
||||||
self.initiator = weinitiate and self.ourjid or self.peerjid
|
self.initiator = weinitiate and self.ourjid or self.peerjid
|
||||||
# jid we use as the responder
|
# jid we use as the responder
|
||||||
|
@ -1023,7 +1023,7 @@ class ConnectionJingle(object):
|
||||||
route it adequatelly.'''
|
route it adequatelly.'''
|
||||||
|
|
||||||
# get data
|
# get data
|
||||||
jid = stanza.getFrom()
|
jid = helpers.get_full_jid_from_iq(stanza)
|
||||||
id = stanza.getID()
|
id = stanza.getID()
|
||||||
|
|
||||||
if (jid, id) in self.__iq_responses.keys():
|
if (jid, id) in self.__iq_responses.keys():
|
||||||
|
|
Loading…
Reference in New Issue