summaryrefslogtreecommitdiff
path: root/src/ft-manager.c
diff options
context:
space:
mode:
authorJonny Lamb <jonny.lamb@collabora.co.uk>2011-10-28 18:11:47 +0100
committerJonny Lamb <jonny.lamb@collabora.co.uk>2011-10-28 18:46:33 +0100
commit21ae0b44c562c7b10436badf370b45cb39c7c815 (patch)
tree5904b065b54d9f8ad99c6e83d4cfaa66a5ec4093 /src/ft-manager.c
parentaa920049bbafadb7af1dc3cc652bfc5ce9b29b50 (diff)
downloadtelepathy-salut-21ae0b44c562c7b10436badf370b45cb39c7c815.tar.gz
ft-manager: remove forcibly adding FT channel class to self contact caps
If we stop at this point, specific FT services won't be added to the self handle's contact caps. It's also completely unnecessary to special case this. Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
Diffstat (limited to 'src/ft-manager.c')
-rw-r--r--src/ft-manager.c11
1 files changed, 0 insertions, 11 deletions
diff --git a/src/ft-manager.c b/src/ft-manager.c
index 07ef9371..19c27acc 100644
--- a/src/ft-manager.c
+++ b/src/ft-manager.c
@@ -661,17 +661,6 @@ salut_ft_manager_get_contact_caps_from_set (
const GabbleCapabilitySet *caps,
GPtrArray *arr)
{
- SalutFtManager *self = SALUT_FT_MANAGER (iface);
- SalutFtManagerPrivate *priv = SALUT_FT_MANAGER_GET_PRIVATE (self);
- TpBaseConnection *base = TP_BASE_CONNECTION (priv->connection);
-
- if (handle == base->self_handle)
- {
- /* we currently always advertise FT ourselves */
- add_file_transfer_channel_class (arr, TRUE, NULL);
- return;
- }
-
/* If we don't receive any capabilities info (QUIRK_NOT_XEP_CAPABILITIES)
* we assume FT is supported to ensure interoperability with other clients */
if (gabble_capability_set_has (caps, WOCKY_XMPP_NS_IQ_OOB) ||