[tuxdroid-svn] r6007 - software_suite_v3/software/plugin/plugin-skype/branches/in_out_plugin/execut
Status: Beta
Brought to you by:
ks156
From: jerome <c2m...@c2...> - 2009-12-22 10:47:05
|
Author: jerome Date: 2009-12-22 11:46:53 +0100 (Tue, 22 Dec 2009) New Revision: 6007 Modified: software_suite_v3/software/plugin/plugin-skype/branches/in_out_plugin/executables/communicator.py Log: * Returning empty list in case of no online contact. * Sending Outgoing call event while ringing instead of routing ( bug detected while proceeding call from user Skype interface ). Modified: software_suite_v3/software/plugin/plugin-skype/branches/in_out_plugin/executables/communicator.py =================================================================== --- software_suite_v3/software/plugin/plugin-skype/branches/in_out_plugin/executables/communicator.py 2009-12-22 10:43:39 UTC (rev 6006) +++ software_suite_v3/software/plugin/plugin-skype/branches/in_out_plugin/executables/communicator.py 2009-12-22 10:46:53 UTC (rev 6007) @@ -203,8 +203,10 @@ except: #do not add this contact in case of exception. pass - - return sorted(online) + if len(online) > 0: + return sorted(online) + else: + return [] # -------------------------------------------------------------------------- # Proceed to call a contact. @@ -617,7 +619,7 @@ self.call = Call partnerHandle = Call.PartnerHandle #Call status is ringing, then trigger outgoing call event. - if Status == Skype4Py.clsRouting: + if Status == Skype4Py.clsRinging: if self.OnOutgoingCall != None: thread = threading.Thread(target=self.OnOutgoingCall, args = [partnerHandle, ]) thread.start() |