From 5f70d6b78e0f1e44b019039c83f8d6565895efec Mon Sep 17 00:00:00 2001 From: Yann Leboulanger Date: Fri, 25 Sep 2009 20:41:22 +0200 Subject: [PATCH] use a str instance instead of a xmpp.JID instance --- src/common/jingle.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/common/jingle.py b/src/common/jingle.py index ee909890f..7d7d0677e 100644 --- a/src/common/jingle.py +++ b/src/common/jingle.py @@ -91,7 +91,7 @@ class JingleSession(object): # our full jid self.ourjid = gajim.get_jid_from_account(self.connection.name) + '/' + \ con.server_resource - self.peerjid = str(jid) # jid we connect to + self.peerjid = jid # jid we connect to # jid we use as the initiator self.initiator = weinitiate and self.ourjid or self.peerjid # jid we use as the responder @@ -1023,7 +1023,7 @@ class ConnectionJingle(object): route it adequatelly.''' # get data - jid = stanza.getFrom() + jid = helpers.get_full_jid_from_iq(stanza) id = stanza.getID() if (jid, id) in self.__iq_responses.keys():