From 92006c7eda4e5aa6d4f7df5d8a483543294329cb Mon Sep 17 00:00:00 2001 From: Guillaume Desmottes Date: Wed, 18 Sep 2013 12:59:41 +0200 Subject: [PATCH] base-protocol: add Presence.Statuses as immutable properties https://bugs.freedesktop.org/show_bug.cgi?id=69520 --- telepathy-glib/base-protocol.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/telepathy-glib/base-protocol.c b/telepathy-glib/base-protocol.c index 44a5acc..926cdcd 100644 --- a/telepathy-glib/base-protocol.c +++ b/telepathy-glib/base-protocol.c @@ -832,7 +832,11 @@ tp_base_protocol_get_immutable_properties (TpBaseProtocol *self) TP_IFACE_PROTOCOL_INTERFACE_ADDRESSING, "AddressableURISchemes", NULL); - /* FIXME: we should add Presence properties as well */ + if (tp_strv_contains ((const gchar * const *) self->priv->interfaces, + TP_IFACE_PROTOCOL_INTERFACE_PRESENCE)) + tp_dbus_properties_mixin_fill_properties_hash ((GObject *) self, table, + TP_IFACE_PROTOCOL_INTERFACE_PRESENCE, "Statuses", + NULL); return table; } -- 1.8.3.1