[telepathy-gabble/master] bytestream_factory_iq_si_cb: hook SI file transfers

Guillaume Desmottes guillaume.desmottes at collabora.co.uk
Fri Apr 3 09:25:42 PDT 2009


---
 src/bytestream-factory.c |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)

diff --git a/src/bytestream-factory.c b/src/bytestream-factory.c
index 3622779..a2ab20b 100644
--- a/src/bytestream-factory.c
+++ b/src/bytestream-factory.c
@@ -790,6 +790,11 @@ bytestream_factory_iq_si_cb (LmMessageHandler *handler,
       si_tube_received (self, msg, si, bytestream, peer_handle, room_handle,
           stream_id);
     }
+  else if (!tp_strdiff (profile, NS_FILE_TRANSFER))
+    {
+      gabble_ft_manager_handle_si_request (priv->conn->ft_manager, bytestream,
+          peer_handle, stream_id, msg);
+    }
   else
     {
       GError e = { GABBLE_XMPP_ERROR, XMPP_ERROR_SI_BAD_PROFILE, "" };
-- 
1.5.6.5




More information about the telepathy-commits mailing list