aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy
diff options
context:
space:
mode:
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2011-01-31 21:11:57 +0800
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2011-02-07 18:07:14 +0800
commit7e67efc0b94e62d2a5f48412abc5f71c43ca764b (patch)
tree506f222d174cce62649f29e3294489cc5fc68f37 /libempathy
parente80937f80044e5125139dd4e6aeb5fac3019bcb8 (diff)
downloadgsoc2013-empathy-7e67efc0b94e62d2a5f48412abc5f71c43ca764b.tar
gsoc2013-empathy-7e67efc0b94e62d2a5f48412abc5f71c43ca764b.tar.gz
gsoc2013-empathy-7e67efc0b94e62d2a5f48412abc5f71c43ca764b.tar.bz2
gsoc2013-empathy-7e67efc0b94e62d2a5f48412abc5f71c43ca764b.tar.lz
gsoc2013-empathy-7e67efc0b94e62d2a5f48412abc5f71c43ca764b.tar.xz
gsoc2013-empathy-7e67efc0b94e62d2a5f48412abc5f71c43ca764b.tar.zst
gsoc2013-empathy-7e67efc0b94e62d2a5f48412abc5f71c43ca764b.zip
set FileTransfer.URI on outgoing FT
Diffstat (limited to 'libempathy')
-rw-r--r--libempathy/empathy-ft-handler.c5
1 files changed, 5 insertions, 0 deletions
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