aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--skype/README3
-rw-r--r--skype/skyped.py6
2 files changed, 6 insertions, 3 deletions
diff --git a/skype/README b/skype/README
index 3b30484b..6f455a0a 100644
--- a/skype/README
+++ b/skype/README
@@ -31,7 +31,8 @@ not..)
* Skype >= 1.4.0.99. (1.4.0.74 did not work for me, 1.4.0.118 seems to be OK.)
* bitlbee 1.1.1dev. (This is the latest version I've tested, probably
newer versions probably will work, too.)
-* Skype4Py >= 0.9.28.1. Previous versions uses `DBus` by default. The latest version I've tested is 0.9.28.3.
+* Skype4Py >= 0.9.28.4. Previous versions report synchronous replies twice. The
+ latest version I've tested is 0.9.28.7.
* Python 2.5. Skype4Py does not work with 2.4.
* pygobject
diff --git a/skype/skyped.py b/skype/skyped.py
index 22b0b322..704a9891 100644
--- a/skype/skyped.py
+++ b/skype/skyped.py
@@ -121,8 +121,10 @@ class SkypeApi():
e = msg_text.decode(locale.getdefaultlocale()[1])
dprint('>> ' + e)
try:
- self.skype.SendCommand(self.skype.Command(-1, e))
- except Skype4Py.ISkypeError:
+ c = self.skype.Command(e, Block=True)
+ self.skype.SendCommand(c)
+ self.recv(c.Reply)
+ except Skype4Py.SkypeError:
pass
except Skype4Py.SkypeAPIError, s:
dprint("Warning, sending '%s' failed (%s)." % (e, s))