changeset b8909ee93957 in /home/hg/repos/gajim
details:http://hg.gajim.org/gajim?cmd=changeset;node=b8909ee93957
description: start listening when we get session initiate. Fixes #7175
diffstat:
src/common/jingle_ft.py | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diffs (15 lines):
diff -r ac7c628635eb -r b8909ee93957 src/common/jingle_ft.py
--- a/src/common/jingle_ft.py Fri Jun 08 20:02:45 2012 -0400
+++ b/src/common/jingle_ft.py Sat Jun 09 15:17:16 2012 -0400
@@ -117,9 +117,11 @@
gajim.nec.push_incoming_event(FileRequestReceivedEvent(None,
conn=self.session.connection, stanza=stanza,
jingle_content=content,
FT_content=self))
+ self._listen_host()
# Delete this after file_props refactoring this shouldn't be necesary
self.session.file_hash = self.file_props['hash']
self.session.hash_algo = self.file_props['algo']
+
def __on_session_initiate_sent(self, stanza, content, error, action):
# Calculate file_hash in a new thread
# if we haven't sent the hash already.
_______________________________________________
Commits mailing list
[email protected]
http://lists.gajim.org/cgi-bin/listinfo/commits