[Telepathy-commits] [mingle/master] Don't try to initiate a session anyway when we have just given up

Sjoerd Simons sjoerd at luon.net
Mon Nov 24 06:23:06 PST 2008


---
 jingle-call.py |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/jingle-call.py b/jingle-call.py
index 2999ef9..a284131 100644
--- a/jingle-call.py
+++ b/jingle-call.py
@@ -27,6 +27,7 @@ def resource_caps(contact, caps):
     if session == None:
         print "Cant get session for remote contact"
         reactor.stop()
+        return
     session.initiate(contact)
 
 def resource_online(contact):
-- 
1.5.6.5



More information about the Telepathy-commits mailing list