[telepathy-gabble/master] gabble_file_transfer_channel_offer_file: claim we support range FT
Guillaume Desmottes
guillaume.desmottes at collabora.co.uk
Fri Apr 17 06:37:03 PDT 2009
---
src/ft-channel.c | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/src/ft-channel.c b/src/ft-channel.c
index e30b109..7b3c0f1 100644
--- a/src/ft-channel.c
+++ b/src/ft-channel.c
@@ -1195,11 +1195,12 @@ gabble_file_transfer_channel_offer_file (GabbleFileTransferChannel *self,
lm_message_node_set_attribute (file_node, "date", date_str);
}
- /* TODO: support initial offset */
-
desc_node = lm_message_node_add_child (file_node, "desc",
self->priv->description);
+ /* we support resume */
+ lm_message_node_add_child (file_node, "range", NULL);
+
result = gabble_bytestream_factory_negotiate_stream (
self->priv->connection->bytestream_factory, msg, stream_id,
bytestream_negotiate_cb, self, G_OBJECT (self), error);
--
1.5.6.5
More information about the telepathy-commits
mailing list