[folks] telepathy: Potentially fix is-quiescent
- From: Philip Withnall <pwithnall src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [folks] telepathy: Potentially fix is-quiescent
- Date: Mon, 5 Sep 2011 21:12:41 +0000 (UTC)
commit 0ee29949100e6211775bd98527740e535db97bbf
Author: Philip Withnall <philip tecnocode co uk>
Date: Mon Sep 5 19:53:45 2011 +0100
telepathy: Potentially fix is-quiescent
See: bgo#656184
backends/telepathy/lib/tpf-persona-store.vala | 14 +++++++++++++-
1 files changed, 13 insertions(+), 1 deletions(-)
---
diff --git a/backends/telepathy/lib/tpf-persona-store.vala b/backends/telepathy/lib/tpf-persona-store.vala
index 8e3c32f..7388975 100644
--- a/backends/telepathy/lib/tpf-persona-store.vala
+++ b/backends/telepathy/lib/tpf-persona-store.vala
@@ -1168,7 +1168,19 @@ public class Tpf.PersonaStore : Folks.PersonaStore
c.invalidated.connect (this._channel_invalidated_cb);
unowned Intset? members = c.group_get_members ();
- if (members != null)
+ if (members != null && name == "stored")
+ {
+ this._channel_group_pend_incoming_adds.begin (c,
+ members.to_array (), true, (obj, res) =>
+ {
+ this._channel_group_pend_incoming_adds.end (res);
+
+ /* We've got some members for the stored channel group. */
+ this._got_stored_channel_members = true;
+ this._notify_if_is_quiescent ();
+ });
+ }
+ else if (members != null)
{
this._channel_group_pend_incoming_adds.begin (c,
members.to_array (), true);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]