[telepathy-gabble/master] test-fallback-socks5-proxy.py: set the 'from' attribute in the proxy reply

Guillaume Desmottes guillaume.desmottes at collabora.co.uk
Fri Jul 3 07:07:36 PDT 2009


---
 tests/twisted/test-fallback-socks5-proxy.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/tests/twisted/test-fallback-socks5-proxy.py b/tests/twisted/test-fallback-socks5-proxy.py
index 0c5d560..130e707 100644
--- a/tests/twisted/test-fallback-socks5-proxy.py
+++ b/tests/twisted/test-fallback-socks5-proxy.py
@@ -24,7 +24,7 @@ def test(q, bus, conn, stream):
         jid = iq['to']
         port = proxy_port[jid]
 
-        reply = elem_iq(stream, 'result', id=iq['id'])(
+        reply = elem_iq(stream, 'result', id=iq['id'], from_=jid)(
             elem(ns.BYTESTREAMS, 'query')(
                 elem('streamhost', jid=jid, host='127.0.0.1', port=port)()))
         stream.send(reply)
-- 
1.5.6.5




More information about the telepathy-commits mailing list