aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy-gtk/empathy-individual-store-channel.c
diff options
context:
space:
mode:
Diffstat (limited to 'libempathy-gtk/empathy-individual-store-channel.c')
-rw-r--r--libempathy-gtk/empathy-individual-store-channel.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/libempathy-gtk/empathy-individual-store-channel.c b/libempathy-gtk/empathy-individual-store-channel.c
index aa9f0e275..75284602b 100644
--- a/libempathy-gtk/empathy-individual-store-channel.c
+++ b/libempathy-gtk/empathy-individual-store-channel.c
@@ -275,6 +275,16 @@ individual_store_channel_reload_individuals (EmpathyIndividualStore *store)
g_ptr_array_unref (members);
}
+static gboolean
+individual_store_channel_initial_loading (EmpathyIndividualStore *store)
+{
+ EmpathyIndividualStoreChannel *self = EMPATHY_INDIVIDUAL_STORE_CHANNEL (
+ store);
+
+ return !tp_proxy_is_prepared (self->priv->channel,
+ TP_CHANNEL_FEATURE_CONTACTS);
+}
+
static void
empathy_individual_store_channel_class_init (
EmpathyIndividualStoreChannelClass *klass)
@@ -288,6 +298,7 @@ empathy_individual_store_channel_class_init (
object_class->set_property = individual_store_channel_set_property;
store_class->reload_individuals = individual_store_channel_reload_individuals;
+ store_class->initial_loading = individual_store_channel_initial_loading;
g_object_class_install_property (object_class,
PROP_CHANNEL,