[Telepathy-commits] [mingle/master] When initial getting the stream, filter all the already known candidates through new_local_candidate

Sjoerd Simons sjoerd at luon.net
Sat Nov 8 14:09:20 PST 2008


---
 jingle.py |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/jingle.py b/jingle.py
index 36d79f4..b6ee960 100644
--- a/jingle.py
+++ b/jingle.py
@@ -169,7 +169,8 @@ class JingleBaseTransport:
 
     def got_stream(self, stream):
         self.fsstream = stream
-        self.pending_candidates = stream.candidates[:]
+        for c in stream.candidates:
+            self.new_local_candidate (c)
 
         stream.newLocalCandidate.addCallback(False,
             self.new_local_candidate)
-- 
1.5.6.5




More information about the Telepathy-commits mailing list