[Telepathy-commits] [telepathy-gabble/master] conn-olpc: revoke_invitations: ignore fake activities aka the ones without ID
Guillaume Desmottes
guillaume.desmottes at collabora.co.uk
Tue Sep 30 03:10:48 PDT 2008
---
src/conn-olpc.c | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/src/conn-olpc.c b/src/conn-olpc.c
index 7926e31..b6b31c9 100644
--- a/src/conn-olpc.c
+++ b/src/conn-olpc.c
@@ -2499,6 +2499,10 @@ revoke_invitations (GabbleConnection *conn,
TpHandleSet *invitees = g_object_get_qdata ((GObject *) chan,
invitees_quark ());
+ if (activity->id == NULL)
+ /* this is not a real OLPC activity */
+ return TRUE;
+
if (invitees != NULL && tp_handle_set_size (invitees) > 0)
{
LmMessage *msg = lm_message_new (NULL, LM_MESSAGE_TYPE_MESSAGE);
--
1.5.6.5
More information about the Telepathy-commits
mailing list