From 7e67efc0b94e62d2a5f48412abc5f71c43ca764b Mon Sep 17 00:00:00 2001 From: Guillaume Desmottes Date: Mon, 31 Jan 2011 14:11:57 +0100 Subject: set FileTransfer.URI on outgoing FT --- libempathy/empathy-ft-handler.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'libempathy/empathy-ft-handler.c') diff --git a/libempathy/empathy-ft-handler.c b/libempathy/empathy-ft-handler.c index 70a194cb1..b5f6b5017 100644 --- a/libempathy/empathy-ft-handler.c +++ b/libempathy/empathy-ft-handler.c @@ -774,8 +774,10 @@ ft_handler_populate_outgoing_request (EmpathyFTHandler *handler) { guint contact_handle; EmpathyFTHandlerPriv *priv = GET_PRIV (handler); + gchar *uri; contact_handle = empathy_contact_get_handle (priv->contact); + uri = g_file_get_uri (priv->gfile); priv->request = tp_asv_new ( TP_PROP_CHANNEL_CHANNEL_TYPE, G_TYPE_STRING, @@ -792,7 +794,10 @@ ft_handler_populate_outgoing_request (EmpathyFTHandler *handler) priv->total_bytes, TP_PROP_CHANNEL_TYPE_FILE_TRANSFER_DATE, G_TYPE_UINT64, priv->mtime, + TP_PROP_CHANNEL_TYPE_FILE_TRANSFER_URI, G_TYPE_STRING, uri, NULL); + + g_free (uri); } static gboolean -- cgit v1.2.3