[Telepathy-commits] [telepathy-salut/master] salut_olpc_activity_joined: check if activity is not private before announcing it
Guillaume Desmottes
guillaume.desmottes at collabora.co.uk
Tue Sep 16 10:28:07 PDT 2008
---
src/salut-olpc-activity.c | 8 ++++++--
1 files changed, 6 insertions(+), 2 deletions(-)
diff --git a/src/salut-olpc-activity.c b/src/salut-olpc-activity.c
index b57a76c..d9d9cf7 100644
--- a/src/salut-olpc-activity.c
+++ b/src/salut-olpc-activity.c
@@ -567,8 +567,12 @@ salut_olpc_activity_joined (SalutOlpcActivity *self,
return FALSE;
}
- /* This might fail but that doesn't prevent us from joining the activity.. */
- salut_olpc_activity_announce (self, NULL);
+ if (!self->is_private)
+ {
+ /* This might fail but that doesn't prevent us from joining the
+ * activity.. */
+ salut_olpc_activity_announce (self, NULL);
+ }
g_signal_connect (priv->muc, "closed", G_CALLBACK (muc_channel_closed_cb),
self);
--
1.5.6.5
More information about the Telepathy-commits
mailing list