summaryrefslogtreecommitdiff
path: root/src/bytestream-factory.c
diff options
context:
space:
mode:
authorAndre Moreira Magalhaes (andrunko) <andre.magalhaes@collabora.co.uk>2011-12-20 21:40:36 -0200
committerAndre Moreira Magalhaes (andrunko) <andre.magalhaes@collabora.co.uk>2011-12-20 21:56:55 -0200
commite1524fd2acb29611f8e9055e227b86c4809b546f (patch)
tree848573f17f817f8c93efe509f04fd3940142f0c8 /src/bytestream-factory.c
parent109ae37c08613b9d1b240ab325f993d466a9be55 (diff)
downloadtelepathy-gabble-e1524fd2acb29611f8e9055e227b86c4809b546f.tar.gz
Add configure option to disable file transfer support.
Diffstat (limited to 'src/bytestream-factory.c')
-rw-r--r--src/bytestream-factory.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/bytestream-factory.c b/src/bytestream-factory.c
index 989ef6dc3..2a2732269 100644
--- a/src/bytestream-factory.c
+++ b/src/bytestream-factory.c
@@ -1272,11 +1272,13 @@ bytestream_factory_iq_si_cb (LmMessageHandler *handler,
si_tube_received (self, msg, si, bytestream, peer_handle, room_handle,
stream_id);
}
+#ifdef ENABLE_FILE_TRANSFER
else if (!tp_strdiff (profile, NS_FILE_TRANSFER))
{
gabble_ft_manager_handle_si_request (priv->conn->ft_manager, bytestream,
peer_handle, stream_id, msg);
}
+#endif
else
{
GError e = { GABBLE_XMPP_ERROR, XMPP_ERROR_SI_BAD_PROFILE, "" };