diff options
author | Simon McVittie <simon.mcvittie@collabora.co.uk> | 2009-01-29 13:11:23 +0000 |
---|---|---|
committer | Simon McVittie <simon.mcvittie@collabora.co.uk> | 2009-01-29 13:11:23 +0000 |
commit | b99db141373c3191df7d4eccc8465dc3afb3087b (patch) | |
tree | e2a6c1528b154c805bde4cd5293d3bf95f21d1cd /telepathy-glib/presence-mixin.c | |
parent | c756bb87881fdbe77be68e592d56355bdbc3438e (diff) | |
download | telepathy-glib-b99db141373c3191df7d4eccc8465dc3afb3087b.tar.gz |
TpPresenceMixin: include everything in Statuses even if it can't be set on yourself
There's a boolean indicating whether statuses can be set on
yourself, so clearly everything ought to be listed there...
Diffstat (limited to 'telepathy-glib/presence-mixin.c')
-rw-r--r-- | 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 9fc4cf11c..af812d262 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; |