commenting experimental code
This commit is contained in:
parent
92b932ca07
commit
4c451a2283
|
@ -112,15 +112,15 @@ class JingleFileTransfer(JingleContent):
|
||||||
con.OpenStream( self.transport.sid, self.session.peerjid,
|
con.OpenStream( self.transport.sid, self.session.peerjid,
|
||||||
fp, blocksize=4096)
|
fp, blocksize=4096)
|
||||||
raise xmpp.NodeProcessed
|
raise xmpp.NodeProcessed
|
||||||
|
'''
|
||||||
self.file_props['streamhosts'] = self.transport.remote_candidates
|
self.file_props['streamhosts'] = self.transport.remote_candidates
|
||||||
for host in self.file_props['streamhosts']:
|
for host in self.file_props['streamhosts']:
|
||||||
host['initiator'] = self.session.initiator
|
host['initiator'] = self.session.initiator
|
||||||
host['target'] = self.session.responder
|
host['target'] = self.session.responder
|
||||||
|
'''
|
||||||
response = stanza.buildReply('result')
|
response = stanza.buildReply('result')
|
||||||
con.connection.send(response)
|
con.connection.send(response)
|
||||||
|
'''
|
||||||
if not gajim.socks5queue.get_file_props(
|
if not gajim.socks5queue.get_file_props(
|
||||||
self.session.connection.name, self.file_props['sid']):
|
self.session.connection.name, self.file_props['sid']):
|
||||||
gajim.socks5queue.add_file_props(self.session.connection.name,
|
gajim.socks5queue.add_file_props(self.session.connection.name,
|
||||||
|
@ -131,7 +131,7 @@ class JingleFileTransfer(JingleContent):
|
||||||
gajim.socks5queue.connect_to_hosts(self.session.connection.name,
|
gajim.socks5queue.connect_to_hosts(self.session.connection.name,
|
||||||
self.file_props['sid'], self.send_candidate_used,
|
self.file_props['sid'], self.send_candidate_used,
|
||||||
self._on_connect_error, fingerprint=fingerprint)
|
self._on_connect_error, fingerprint=fingerprint)
|
||||||
|
'''
|
||||||
raise xmpp.NodeProcessed
|
raise xmpp.NodeProcessed
|
||||||
|
|
||||||
def __on_session_terminate(self, stanza, content, error, action):
|
def __on_session_terminate(self, stanza, content, error, action):
|
||||||
|
|
Loading…
Reference in New Issue