[Telepathy-commits] [telepathy-glib/master] TpPresenceMixin: include everything in Statuses even if it can't be set on yourself
Simon McVittie
simon.mcvittie at collabora.co.uk
Thu Jan 29 05:11:23 PST 2009
There's a boolean indicating whether statuses can be set on
yourself, so clearly everything ought to be listed there...
---
telepathy-glib/presence-mixin.c | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/telepathy-glib/presence-mixin.c b/telepathy-glib/presence-mixin.c
index 9fc4cf1..af812d2 100644
--- a/telepathy-glib/presence-mixin.c
+++ b/telepathy-glib/presence-mixin.c
@@ -1082,7 +1082,9 @@ tp_presence_mixin_get_simple_presence_dbus_property (GObject *object,
int j;
gboolean message = FALSE;
- if (!check_status_available (object, mixin_cls, i, NULL, TRUE))
+ /* we include statuses here even if they're not available
+ * to set on yourself */
+ if (!check_status_available (object, mixin_cls, i, NULL, FALSE))
continue;
specs = mixin_cls->statuses[i].optional_arguments;
--
1.5.6.5
More information about the telepathy-commits
mailing list