[telepathy-gabble/master] gabble_file_transfer_channel_offer_file: add mime-type and hash attributes

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


---
 src/file-transfer-channel.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/src/file-transfer-channel.c b/src/file-transfer-channel.c
index 9c74738..8e75e4c 100644
--- a/src/file-transfer-channel.c
+++ b/src/file-transfer-channel.c
@@ -1065,6 +1065,8 @@ gabble_file_transfer_channel_offer_file (GabbleFileTransferChannel *self,
       "xmlns", NS_FILE_TRANSFER,
       "name", self->priv->filename,
       "size", size_str,
+      "mime-type", self->priv->content_type,
+      "hash", self->priv->content_hash,
       NULL);
   /* TODO: other attributes */
 
-- 
1.5.6.5




More information about the telepathy-commits mailing list