summaryrefslogtreecommitdiff
path: root/tubes
diff options
context:
space:
mode:
authorMatúš Kukan <matus.kukan@gmail.com>2012-08-07 20:57:38 +0200
committerMatúš Kukan <matus.kukan@gmail.com>2012-08-08 10:04:19 +0200
commit35aa0360ed14ced09b803c2fc95ea095d4a6cb36 (patch)
treeea5b8f4d99740308c2cbe30384fa0a98ea662209 /tubes
parent6766c6a2a0a933b507e8e98a30280d1963f5b7db (diff)
Revert "tubes: mangle service name into file description"
Hopefully, it will work now, and we can use description field for UUID. This reverts commit 98411a76545737f4b2b956fb1cc137a924c64641. Change-Id: Ib6feeea861949c0cd316fda0295f13751de789e5
Diffstat (limited to 'tubes')
-rw-r--r--tubes/source/file-transfer-helper.c2
-rw-r--r--tubes/source/manager.cxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/tubes/source/file-transfer-helper.c b/tubes/source/file-transfer-helper.c
index 107f103d9e6d..c5049f8dcfb4 100644
--- a/tubes/source/file-transfer-helper.c
+++ b/tubes/source/file-transfer-helper.c
@@ -921,7 +921,7 @@ ft_handler_populate_outgoing_request (EmpathyFTHandler *handler)
NULL);
if (priv->service_name != NULL)
- tp_asv_set_string (priv->request, TP_PROP_CHANNEL_TYPE_FILE_TRANSFER_DESCRIPTION, priv->service_name);
+ tp_asv_set_string (priv->request, TP_PROP_CHANNEL_INTERFACE_FILE_TRANSFER_METADATA_SERVICE_NAME, priv->service_name);
g_free (uri);
}
diff --git a/tubes/source/manager.cxx b/tubes/source/manager.cxx
index b4fb93b001d0..e1311c827749 100644
--- a/tubes/source/manager.cxx
+++ b/tubes/source/manager.cxx
@@ -613,7 +613,7 @@ bool TeleManager::registerClients()
tp_asv_new(
TP_PROP_CHANNEL_CHANNEL_TYPE, G_TYPE_STRING, TP_IFACE_CHANNEL_TYPE_FILE_TRANSFER,
TP_PROP_CHANNEL_TARGET_HANDLE_TYPE, G_TYPE_UINT, TP_HANDLE_TYPE_CONTACT,
- TP_PROP_CHANNEL_TYPE_FILE_TRANSFER_DESCRIPTION, G_TYPE_STRING, getFullServiceName().getStr(),
+ TP_PROP_CHANNEL_INTERFACE_FILE_TRANSFER_METADATA_SERVICE_NAME, G_TYPE_STRING, getFullServiceName().getStr(),
NULL));
if (!tp_base_client_register( pImpl->mpFileTransferClient, &pError))