[telepathy-gabble/master] Always advertise Location.DRAFT
Pierre-Luc Beaudoin
pierre-luc.beaudoin at collabora.co.uk
Tue May 26 15:25:10 PDT 2009
Even if a server does not support PEP the user can receive notifications
for geolocation of other users from other servers.
---
src/connection.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/src/connection.c b/src/connection.c
index b129ef1..e0d3703 100644
--- a/src/connection.c
+++ b/src/connection.c
@@ -587,6 +587,7 @@ gabble_connection_class_init (GabbleConnectionClass *gabble_connection_class)
TP_IFACE_CONNECTION_INTERFACE_REQUESTS,
GABBLE_IFACE_OLPC_GADGET,
GABBLE_IFACE_CONNECTION_INTERFACE_CONTACT_CAPABILITIES,
+ GABBLE_IFACE_CONNECTION_INTERFACE_LOCATION,
NULL };
static TpDBusPropertiesMixinPropImpl olpc_gadget_props[] = {
{ "GadgetAvailable", NULL, NULL },
@@ -2151,7 +2152,7 @@ connection_disco_cb (GabbleDisco *disco,
{
const gchar *ifaces[] = { GABBLE_IFACE_OLPC_BUDDY_INFO,
GABBLE_IFACE_OLPC_ACTIVITY_PROPERTIES,
- GABBLE_IFACE_CONNECTION_INTERFACE_LOCATION, NULL };
+ NULL };
tp_base_connection_add_interfaces ((TpBaseConnection *) conn, ifaces);
}
--
1.5.6.5
More information about the telepathy-commits
mailing list